1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #24149 -- Normalized tuple settings to lists.

This commit is contained in:
darkryder
2015-01-21 22:25:57 +05:30
committed by Tim Graham
parent 570912a97d
commit 9ec8aa5e5d
120 changed files with 612 additions and 616 deletions

View File

@@ -159,10 +159,10 @@ this. For a small app like polls, this process isn't too difficult.
1. Add "polls" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
INSTALLED_APPS = [
...
'polls',
)
]
2. Include the polls URLconf in your project urls.py like this::

View File

@@ -422,7 +422,7 @@ look like this:
.. snippet::
:filename: mysite/settings.py
INSTALLED_APPS = (
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
@@ -430,7 +430,7 @@ look like this:
'django.contrib.messages',
'django.contrib.staticfiles',
'polls',
)
]
Now Django knows to include the ``polls`` app. Let's run another command: