diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-05 08:58:17 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-10-05 08:58:17 +0000 |
| commit | 806ea3a1dede8d51df11c2bd9c2f23be95ea6e00 (patch) | |
| tree | 30bfb2d3cfbb5ff083e3f06d225c8c83b3703a85 /docs/topics/settings.txt | |
| parent | e1b7211083f6b1b8a4bc5c9f391c416b2ab5b7ab (diff) | |
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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/settings.txt')
| -rw-r--r-- | docs/topics/settings.txt | 5 |
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 |
