Jump to content

Django for Designers: Difference between revisions

→‎Start your first app: Add it to INSTALLED_APPS
imported>Paulproteus
imported>Paulproteus
(→‎Start your first app: Add it to INSTALLED_APPS)
Line 258:
tests.py
views.py
</source>
 
Finally, we need to edit myproject/settings.py so that Django knows about our app. Open that file up, and look for INSTALLED_APPS. Add the following to the end of the sequence, on a line of its own:
 
<source lang="python">
'bookmarks',
</source>
 
It will then look like this:
 
<source lang="python">
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
# Uncomment the next line to enable the admin:
# 'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'bookmarks',
)
</source>
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.