mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Used :envvar: role and .. envvar:: directive in various docs.
This commit is contained in:
parent
feb91dbda1
commit
fbdb032de2
15 changed files with 65 additions and 49 deletions
|
@ -321,9 +321,9 @@ and calculated values can be displayed alongside editable fields.
|
|||
Customizable syntax highlighting
|
||||
--------------------------------
|
||||
|
||||
You can now use a ``DJANGO_COLORS`` environment variable to modify or disable
|
||||
the colors used by ``django-admin.py`` to provide :ref:`syntax highlighting
|
||||
<syntax-coloring>`.
|
||||
You can now use a :envvar:`DJANGO_COLORS` environment variable to modify or
|
||||
disable the colors used by ``django-admin.py`` to provide :ref:`syntax
|
||||
highlighting <syntax-coloring>`.
|
||||
|
||||
Syndication feeds as views
|
||||
--------------------------
|
||||
|
|
|
@ -1257,7 +1257,7 @@ needed with the new ``manage.py`` and default project layout.
|
|||
|
||||
This function was never documented or part of the public API, but it was widely
|
||||
recommended for use in setting up a "Django environment" for a user script.
|
||||
These uses should be replaced by setting the ``DJANGO_SETTINGS_MODULE``
|
||||
These uses should be replaced by setting the :envvar:`DJANGO_SETTINGS_MODULE`
|
||||
environment variable or using :func:`django.conf.settings.configure`.
|
||||
|
||||
``django.core.management.execute_manager``
|
||||
|
|
|
@ -58,7 +58,8 @@ Bugfixes
|
|||
|
||||
* Increased the default timeout when using ``Watchman`` to 5 seconds to prevent
|
||||
falling back to ``StatReloader`` on larger projects and made it customizable
|
||||
via the ``DJANGO_WATCHMAN_TIMEOUT`` environment variable (:ticket:`30361`).
|
||||
via the :envvar:`DJANGO_WATCHMAN_TIMEOUT` environment variable
|
||||
(:ticket:`30361`).
|
||||
|
||||
* Fixed a regression in Django 2.2 that caused a crash when migrating
|
||||
permissions for proxy models if the target permissions already existed. For
|
||||
|
|
|
@ -28,7 +28,7 @@ Bugfixes
|
|||
* Fixed a regression in Django 3.0 by restoring the ability to use Django
|
||||
inside Jupyter and other environments that force an async context, by adding
|
||||
an option to disable :ref:`async-safety` mechanism with
|
||||
``DJANGO_ALLOW_ASYNC_UNSAFE`` environment variable (:ticket:`31056`).
|
||||
:envvar:`DJANGO_ALLOW_ASYNC_UNSAFE` environment variable (:ticket:`31056`).
|
||||
|
||||
* Fixed a regression in Django 3.0 where ``RegexPattern``, used by
|
||||
:func:`~django.urls.re_path`, returned positional arguments to be passed to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue