|
@@ -802,10 +802,6 @@ This is an Oracle-specific setting.
|
|
|
The name of the tablespace that will be used when running tests. If not
|
|
|
provided, Django will use ``'test_' + USER``.
|
|
|
|
|
|
-.. versionchanged:: 1.8
|
|
|
-
|
|
|
- Previously Django used ``'test_' + NAME`` if not provided.
|
|
|
-
|
|
|
.. setting:: TEST_TBLSPACE_TMP
|
|
|
|
|
|
TBLSPACE_TMP
|
|
@@ -818,17 +814,11 @@ This is an Oracle-specific setting.
|
|
|
The name of the temporary tablespace that will be used when running tests. If
|
|
|
not provided, Django will use ``'test_' + USER + '_temp'``.
|
|
|
|
|
|
-.. versionchanged:: 1.8
|
|
|
-
|
|
|
- Previously Django used ``'test_' + NAME + '_temp'`` if not provided.
|
|
|
-
|
|
|
.. setting:: DATAFILE
|
|
|
|
|
|
DATAFILE
|
|
|
^^^^^^^^
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``None``
|
|
|
|
|
|
This is an Oracle-specific setting.
|
|
@@ -841,8 +831,6 @@ use ``TBLSPACE + '.dbf'``.
|
|
|
DATAFILE_TMP
|
|
|
^^^^^^^^^^^^
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``None``
|
|
|
|
|
|
This is an Oracle-specific setting.
|
|
@@ -855,14 +843,8 @@ will use ``TBLSPACE_TMP + '.dbf'``.
|
|
|
DATAFILE_MAXSIZE
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``'500M'``
|
|
|
|
|
|
-.. versionchanged:: 1.8
|
|
|
-
|
|
|
- The previous value was 200M and was not user customizable.
|
|
|
-
|
|
|
This is an Oracle-specific setting.
|
|
|
|
|
|
The maximum size that the DATAFILE is allowed to grow to.
|
|
@@ -872,14 +854,8 @@ The maximum size that the DATAFILE is allowed to grow to.
|
|
|
DATAFILE_TMP_MAXSIZE
|
|
|
^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``'500M'``
|
|
|
|
|
|
-.. versionchanged:: 1.8
|
|
|
-
|
|
|
- The previous value was 200M and was not user customizable.
|
|
|
-
|
|
|
This is an Oracle-specific setting.
|
|
|
|
|
|
The maximum size that the DATAFILE_TMP is allowed to grow to.
|
|
@@ -1261,8 +1237,6 @@ exclusive, so only set one of those settings to ``True``.
|
|
|
EMAIL_SSL_CERTFILE
|
|
|
------------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``None``
|
|
|
|
|
|
If :setting:`EMAIL_USE_SSL` or :setting:`EMAIL_USE_TLS` is ``True``, you can
|
|
@@ -1274,8 +1248,6 @@ for the SSL connection.
|
|
|
EMAIL_SSL_KEYFILE
|
|
|
-----------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``None``
|
|
|
|
|
|
If :setting:`EMAIL_USE_SSL` or :setting:`EMAIL_USE_TLS` is ``True``, you can
|
|
@@ -1293,8 +1265,6 @@ file and private key file are handled.
|
|
|
EMAIL_TIMEOUT
|
|
|
-------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``None``
|
|
|
|
|
|
Specifies a timeout in seconds for blocking operations like the connection
|
|
@@ -1463,19 +1433,17 @@ like::
|
|
|
__init__.py
|
|
|
formats.py
|
|
|
|
|
|
-.. versionchanged:: 1.8
|
|
|
-
|
|
|
- You can also set this setting to a list of Python paths, for example::
|
|
|
+You can also set this setting to a list of Python paths, for example::
|
|
|
|
|
|
- FORMAT_MODULE_PATH = [
|
|
|
- 'mysite.formats',
|
|
|
- 'some_app.formats',
|
|
|
- ]
|
|
|
+ FORMAT_MODULE_PATH = [
|
|
|
+ 'mysite.formats',
|
|
|
+ 'some_app.formats',
|
|
|
+ ]
|
|
|
|
|
|
- When Django searches for a certain format, it will go through all given
|
|
|
- Python paths until it finds a module that actually defines the given
|
|
|
- format. This means that formats defined in packages farther up in the list
|
|
|
- will take precedence over the same formats in packages farther down.
|
|
|
+When Django searches for a certain format, it will go through all given Python
|
|
|
+paths until it finds a module that actually defines the given format. This
|
|
|
+means that formats defined in packages farther up in the list will take
|
|
|
+precedence over the same formats in packages farther down.
|
|
|
|
|
|
Available formats are :setting:`DATE_FORMAT`, :setting:`TIME_FORMAT`,
|
|
|
:setting:`DATETIME_FORMAT`, :setting:`YEAR_MONTH_FORMAT`,
|
|
@@ -1580,10 +1548,6 @@ It serves two purposes:
|
|
|
site. It also provides the fallback translation when a translation for a
|
|
|
given literal doesn't exist for the user's preferred language.
|
|
|
|
|
|
-.. versionchanged:: 1.8
|
|
|
-
|
|
|
- The fallback for translation literals was added.
|
|
|
-
|
|
|
See :ref:`how-django-discovers-language-preference` for more details.
|
|
|
|
|
|
.. _list of language identifiers: http://www.i18nguy.com/unicode/language-identifiers.html
|
|
@@ -1967,8 +1931,6 @@ affect them.
|
|
|
SECURE_BROWSER_XSS_FILTER
|
|
|
-------------------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``False``
|
|
|
|
|
|
If ``True``, the :class:`~django.middleware.security.SecurityMiddleware` sets
|
|
@@ -1979,8 +1941,6 @@ the :ref:`x-xss-protection` header on all responses that do not already have it.
|
|
|
SECURE_CONTENT_TYPE_NOSNIFF
|
|
|
---------------------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``False``
|
|
|
|
|
|
If ``True``, the :class:`~django.middleware.security.SecurityMiddleware`
|
|
@@ -1992,8 +1952,6 @@ already have it.
|
|
|
SECURE_HSTS_INCLUDE_SUBDOMAINS
|
|
|
------------------------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``False``
|
|
|
|
|
|
If ``True``, the :class:`~django.middleware.security.SecurityMiddleware` adds
|
|
@@ -2011,8 +1969,6 @@ non-zero value.
|
|
|
SECURE_HSTS_SECONDS
|
|
|
-------------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``0``
|
|
|
|
|
|
If set to a non-zero integer value, the
|
|
@@ -2090,8 +2046,6 @@ available in ``request.META``.)
|
|
|
SECURE_REDIRECT_EXEMPT
|
|
|
----------------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``[]`` (Empty list)
|
|
|
|
|
|
If a URL path matches a regular expression in this list, the request will not be
|
|
@@ -2103,8 +2057,6 @@ setting has no effect.
|
|
|
SECURE_SSL_HOST
|
|
|
---------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``None``
|
|
|
|
|
|
If a string (e.g. ``secure.example.com``), all SSL redirects will be directed
|
|
@@ -2117,8 +2069,6 @@ setting has no effect.
|
|
|
SECURE_SSL_REDIRECT
|
|
|
-------------------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``False``.
|
|
|
|
|
|
If ``True``, the :class:`~django.middleware.security.SecurityMiddleware`
|
|
@@ -2225,8 +2175,6 @@ See also the :doc:`/ref/checks` documentation.
|
|
|
TEMPLATES
|
|
|
---------
|
|
|
|
|
|
-.. versionadded:: 1.8
|
|
|
-
|
|
|
Default: ``[]`` (Empty list)
|
|
|
|
|
|
A list containing the settings for all template engines to be used with
|