mirror of
https://github.com/django/django.git
synced 2025-01-03 06:55:47 +00:00
Made identation of default setting docs more consistenct.
This commit is contained in:
parent
37f7ef41fb
commit
67907ed845
@ -1297,8 +1297,10 @@ template files and initial SQL data files.
|
|||||||
|
|
||||||
Default::
|
Default::
|
||||||
|
|
||||||
["django.core.files.uploadhandler.MemoryFileUploadHandler",
|
[
|
||||||
"django.core.files.uploadhandler.TemporaryFileUploadHandler"]
|
'django.core.files.uploadhandler.MemoryFileUploadHandler',
|
||||||
|
'django.core.files.uploadhandler.TemporaryFileUploadHandler',
|
||||||
|
]
|
||||||
|
|
||||||
A list of handlers to use for uploading. Changing this setting allows complete
|
A list of handlers to use for uploading. Changing this setting allows complete
|
||||||
customization -- even replacement -- of Django's upload process.
|
customization -- even replacement -- of Django's upload process.
|
||||||
@ -1796,8 +1798,10 @@ Example: ``"http://media.example.com/"``
|
|||||||
|
|
||||||
Default::
|
Default::
|
||||||
|
|
||||||
['django.middleware.common.CommonMiddleware',
|
[
|
||||||
'django.middleware.csrf.CsrfViewMiddleware']
|
'django.middleware.common.CommonMiddleware',
|
||||||
|
'django.middleware.csrf.CsrfViewMiddleware',
|
||||||
|
]
|
||||||
|
|
||||||
A list of middleware classes to use. See :doc:`/topics/http/middleware`.
|
A list of middleware classes to use. See :doc:`/topics/http/middleware`.
|
||||||
|
|
||||||
@ -2657,13 +2661,17 @@ See :ref:`auth_password_storage`.
|
|||||||
|
|
||||||
Default::
|
Default::
|
||||||
|
|
||||||
['django.contrib.auth.hashers.PBKDF2PasswordHasher',
|
[
|
||||||
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
|
'django.contrib.auth.hashers.PBKDF2PasswordHasher',
|
||||||
'django.contrib.auth.hashers.BCryptPasswordHasher',
|
'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher',
|
||||||
'django.contrib.auth.hashers.SHA1PasswordHasher',
|
'django.contrib.auth.hashers.BCryptSHA256PasswordHasher',
|
||||||
'django.contrib.auth.hashers.MD5PasswordHasher',
|
'django.contrib.auth.hashers.BCryptPasswordHasher',
|
||||||
'django.contrib.auth.hashers.UnsaltedMD5PasswordHasher',
|
'django.contrib.auth.hashers.SHA1PasswordHasher',
|
||||||
'django.contrib.auth.hashers.CryptPasswordHasher']
|
'django.contrib.auth.hashers.MD5PasswordHasher',
|
||||||
|
'django.contrib.auth.hashers.UnsaltedSHA1PasswordHasher',
|
||||||
|
'django.contrib.auth.hashers.UnsaltedMD5PasswordHasher',
|
||||||
|
'django.contrib.auth.hashers.CryptPasswordHasher',
|
||||||
|
]
|
||||||
|
|
||||||
.. setting:: AUTH_PASSWORD_VALIDATORS
|
.. setting:: AUTH_PASSWORD_VALIDATORS
|
||||||
|
|
||||||
@ -2736,11 +2744,13 @@ and :setting:`SESSION_COOKIE_HTTPONLY` when setting their cookies.
|
|||||||
|
|
||||||
Default::
|
Default::
|
||||||
|
|
||||||
{messages.DEBUG: 'debug',
|
{
|
||||||
messages.INFO: 'info',
|
messages.DEBUG: 'debug',
|
||||||
messages.SUCCESS: 'success',
|
messages.INFO: 'info',
|
||||||
messages.WARNING: 'warning',
|
messages.SUCCESS: 'success',
|
||||||
messages.ERROR: 'error'}
|
messages.WARNING: 'warning',
|
||||||
|
messages.ERROR: 'error',
|
||||||
|
}
|
||||||
|
|
||||||
This sets the mapping of message level to message tag, which is typically
|
This sets the mapping of message level to message tag, which is typically
|
||||||
rendered as a CSS class in HTML. If you specify a value, it will extend
|
rendered as a CSS class in HTML. If you specify a value, it will extend
|
||||||
@ -3082,8 +3092,10 @@ For an example, see :ref:`staticfiles-from-cdn`.
|
|||||||
|
|
||||||
Default::
|
Default::
|
||||||
|
|
||||||
["django.contrib.staticfiles.finders.FileSystemFinder",
|
[
|
||||||
"django.contrib.staticfiles.finders.AppDirectoriesFinder"]
|
'django.contrib.staticfiles.finders.FileSystemFinder',
|
||||||
|
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||||
|
]
|
||||||
|
|
||||||
The list of finder backends that know how to find static files in
|
The list of finder backends that know how to find static files in
|
||||||
various locations.
|
various locations.
|
||||||
|
Loading…
Reference in New Issue
Block a user