diff options
| author | darkryder <sambhav13085@iiitd.ac.in> | 2015-01-21 22:25:57 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-03 14:59:45 -0500 |
| commit | 9ec8aa5e5d42ac4529846f7eae6bf4982800abff (patch) | |
| tree | 6a1195ff3831031f8207e18e4dcf69015fb4c50c /docs/intro | |
| parent | 570912a97d5051fa3aeacd9d16c3be9afcf92198 (diff) | |
Fixed #24149 -- Normalized tuple settings to lists.
Diffstat (limited to 'docs/intro')
| -rw-r--r-- | docs/intro/reusable-apps.txt | 4 | ||||
| -rw-r--r-- | docs/intro/tutorial01.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt index 3c8041e857..d20bd37210 100644 --- a/docs/intro/reusable-apps.txt +++ b/docs/intro/reusable-apps.txt @@ -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:: diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 5d4eaca76c..bfce99de0b 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -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: |
