Init app 'crawl'
This commit is contained in:
parent
924657abdb
commit
bef1fca5b9
7 changed files with 15 additions and 0 deletions
0
crawl/__init__.py
Normal file
0
crawl/__init__.py
Normal file
3
crawl/admin.py
Normal file
3
crawl/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
# Register your models here.
|
5
crawl/apps.py
Normal file
5
crawl/apps.py
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class CrawlConfig(AppConfig):
|
||||||
|
name = 'crawl'
|
0
crawl/migrations/__init__.py
Normal file
0
crawl/migrations/__init__.py
Normal file
3
crawl/models.py
Normal file
3
crawl/models.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.db import models
|
||||||
|
|
||||||
|
# Create your models here.
|
3
crawl/views.py
Normal file
3
crawl/views.py
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
from django.shortcuts import render
|
||||||
|
|
||||||
|
# Create your views here.
|
|
@ -26,6 +26,7 @@ INSTALLED_APPS = [
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
'profiles',
|
'profiles',
|
||||||
|
'crawl',
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
|
Loading…
Reference in a new issue