|
@@ -924,16 +924,15 @@ Default::
|
|
|
|
|
|
A list of formats that will be accepted when inputting data on a date field.
|
|
|
Formats will be tried in order, using the first valid one. Note that these
|
|
|
-format strings use Python's datetime_ module syntax, not the format strings
|
|
|
-from the ``date`` Django template tag.
|
|
|
+format strings use Python's :ref:`datetime module syntax
|
|
|
+<strftime-strptime-behavior>`, not the format strings from the :tfilter:`date`
|
|
|
+template filter.
|
|
|
|
|
|
When :setting:`USE_L10N` is ``True``, the locale-dictated format has higher
|
|
|
precedence and will be applied instead.
|
|
|
|
|
|
See also :setting:`DATETIME_INPUT_FORMATS` and :setting:`TIME_INPUT_FORMATS`.
|
|
|
|
|
|
-.. _datetime: https://docs.python.org/library/datetime.html#strftime-strptime-behavior
|
|
|
-
|
|
|
.. setting:: DATETIME_FORMAT
|
|
|
|
|
|
``DATETIME_FORMAT``
|
|
@@ -972,16 +971,15 @@ Default::
|
|
|
|
|
|
A list of formats that will be accepted when inputting data on a datetime
|
|
|
field. Formats will be tried in order, using the first valid one. Note that
|
|
|
-these format strings use Python's datetime_ module syntax, not the format
|
|
|
-strings from the ``date`` Django template tag.
|
|
|
+these format strings use Python's :ref:`datetime module syntax
|
|
|
+<strftime-strptime-behavior>`, not the format strings from the :tfilter:`date`
|
|
|
+template filter.
|
|
|
|
|
|
When :setting:`USE_L10N` is ``True``, the locale-dictated format has higher
|
|
|
precedence and will be applied instead.
|
|
|
|
|
|
See also :setting:`DATE_INPUT_FORMATS` and :setting:`TIME_INPUT_FORMATS`.
|
|
|
|
|
|
-.. _datetime: https://docs.python.org/library/datetime.html#strftime-strptime-behavior
|
|
|
-
|
|
|
.. setting:: DEBUG
|
|
|
|
|
|
``DEBUG``
|
|
@@ -1730,14 +1728,12 @@ __ https://github.com/django/django/blob/master/django/utils/log.py
|
|
|
Default: ``'logging.config.dictConfig'``
|
|
|
|
|
|
A path to a callable that will be used to configure logging in the
|
|
|
-Django project. Points at a instance of Python's `dictConfig`_
|
|
|
-configuration method by default.
|
|
|
+Django project. Points at a instance of Python's :ref:`dictConfig
|
|
|
+<logging-config-dictschema>` configuration method by default.
|
|
|
|
|
|
If you set :setting:`LOGGING_CONFIG` to ``None``, the logging
|
|
|
configuration process will be skipped.
|
|
|
|
|
|
-.. _dictConfig: https://docs.python.org/library/logging.config.html#configuration-dictionary-schema
|
|
|
-
|
|
|
.. setting:: MANAGERS
|
|
|
|
|
|
``MANAGERS``
|
|
@@ -2368,16 +2364,15 @@ Default::
|
|
|
|
|
|
A list of formats that will be accepted when inputting data on a time field.
|
|
|
Formats will be tried in order, using the first valid one. Note that these
|
|
|
-format strings use Python's datetime_ module syntax, not the format strings
|
|
|
-from the ``date`` Django template tag.
|
|
|
+format strings use Python's :ref:`datetime module syntax
|
|
|
+<strftime-strptime-behavior>`, not the format strings from the :tfilter:`date`
|
|
|
+template filter.
|
|
|
|
|
|
When :setting:`USE_L10N` is ``True``, the locale-dictated format has higher
|
|
|
precedence and will be applied instead.
|
|
|
|
|
|
See also :setting:`DATE_INPUT_FORMATS` and :setting:`DATETIME_INPUT_FORMATS`.
|
|
|
|
|
|
-.. _datetime: https://docs.python.org/library/datetime.html#strftime-strptime-behavior
|
|
|
-
|
|
|
.. setting:: TIME_ZONE
|
|
|
|
|
|
``TIME_ZONE``
|