Created app for articles.
parent
e7148362f0
commit
bad5592a9c
|
|
@ -0,0 +1 @@
|
||||||
|
# Register your models here.
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
class ArticlesConfig(AppConfig):
|
||||||
|
default_auto_field = 'django.db.models.BigAutoField'
|
||||||
|
name = 'articles'
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
# Create your models here.
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
# Create your tests here.
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
# Create your views here.
|
||||||
|
|
@ -39,6 +39,7 @@ INSTALLED_APPS = [
|
||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
'articles.apps.ArticlesConfig'
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue