mirror of
https://github.com/django/django.git
synced 2025-07-21 01:59:26 +00:00
[1.9.x] Clarified that setting names must be uppercase.
Backport of c9c5ccbd413332aafb45c47749fb6e8ede70eef4 from master
This commit is contained in:
parent
cb33e553ee
commit
3c6b9f0bbd
@ -161,9 +161,9 @@ Creating your own settings
|
|||||||
==========================
|
==========================
|
||||||
|
|
||||||
There's nothing stopping you from creating your own settings, for your own
|
There's nothing stopping you from creating your own settings, for your own
|
||||||
Django apps. Just follow these conventions:
|
Django apps. Just follow these guidelines:
|
||||||
|
|
||||||
* Setting names are in all uppercase.
|
* Setting names must be all uppercase.
|
||||||
* Don't reinvent an already-existing setting.
|
* Don't reinvent an already-existing setting.
|
||||||
|
|
||||||
For settings that are sequences, Django itself uses lists, but this is only
|
For settings that are sequences, Django itself uses lists, but this is only
|
||||||
|
Loading…
x
Reference in New Issue
Block a user