Added blog and organizer app into setting.py config

master
Jason Zhu 2020-10-18 23:05:59 +11:00
parent cf9df791ea
commit cec7e99fd8
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
# Read Me # Read Me
This is repository to practise Python + Django following **Web Development in Python with Django: Building Backend Web Applications and APIs with Django** This is repository to practise Python + Django following **Web Development in Python with Django: Building Backend Web Applications and APIs with Django**
## Add app in django
* add in `config/settings.py`

View File

@ -37,6 +37,9 @@ INSTALLED_APPS = [
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
# first party
'blog.apps.BlogConfig',
'organizer.apps.OrganizerConfig',
] ]
MIDDLEWARE = [ MIDDLEWARE = [