Anonymous user
Django for Designers: Difference between revisions
→Start your first app: Add it to INSTALLED_APPS
imported>Paulproteus (→Handling those URLs with some basic views: Add a "$" for a prompt) |
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>
|