Fixed #25356 -- Removed default_app_config from startapp template.

Also discouraged its use outside the intended use case.
This commit is contained in:
Tim Graham 2015-09-07 09:28:15 -04:00
parent 29d52583e7
commit 862de0b254
6 changed files with 8 additions and 12 deletions

View file

@ -199,14 +199,14 @@ But first we need to tell our project that the ``polls`` app is installed.
Django installation.
Edit the :file:`mysite/settings.py` file again, and change the
:setting:`INSTALLED_APPS` setting to include the string ``'polls'``. So it'll
look like this:
:setting:`INSTALLED_APPS` setting to include the string
``'polls.apps.PollsConfig'``. It'll look like this:
.. snippet::
:filename: mysite/settings.py
INSTALLED_APPS = [
'polls',
'polls.apps.PollsConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',