summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-10-05 09:00:07 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-10-05 09:00:07 +0000
commit5da08047b9ff074173e6a3dc6c9b5d5a03c89bf5 (patch)
treeff02c5c5d68e18987195670edabf94c9d06dd07e /docs
parent9b5c2293c647967e42b320109f32f77b01d6a3aa (diff)
[1.0.X] Changed the "write your own settings" recommendation to mention that Django
uses tuples, but not making it a recommendation. That might head off the endless tuples vs. lists debates. Fixed #8846. Backport of r9146 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/settings.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/topics/settings.txt b/docs/topics/settings.txt
index d9c8f0ab62..16f80d5312 100644
--- a/docs/topics/settings.txt
+++ b/docs/topics/settings.txt
@@ -160,10 +160,11 @@ There's nothing stopping you from creating your own settings, for your own
Django apps. Just follow these conventions:
* Setting names are in all uppercase.
- * For settings that are sequences, use tuples instead of lists. This is
- purely for performance.
* Don't reinvent an already-existing setting.
+For settings that are sequences, Django itself uses tuples, rather than lists,
+but this is only a convention.
+
.. _settings-without-django-settings-module:
Using settings without setting DJANGO_SETTINGS_MODULE