mirror of https://github.com/django/django.git
[2.0.x] Fixed #29250 -- Added 'django_version' context to startapp/project docs.
Backport of ee7f51c66d
from master
This commit is contained in:
parent
ba483c346b
commit
0118a2113d
|
@ -1201,6 +1201,7 @@ files is:
|
||||||
- ``app_directory`` -- the full path of the newly created app
|
- ``app_directory`` -- the full path of the newly created app
|
||||||
- ``camel_case_app_name`` -- the app name in camel case format
|
- ``camel_case_app_name`` -- the app name in camel case format
|
||||||
- ``docs_version`` -- the version of the documentation: ``'dev'`` or ``'1.x'``
|
- ``docs_version`` -- the version of the documentation: ``'dev'`` or ``'1.x'``
|
||||||
|
- ``django_version`` -- the version of Django, e.g.``'2.0.3'``
|
||||||
|
|
||||||
.. _render_warning:
|
.. _render_warning:
|
||||||
|
|
||||||
|
@ -1270,6 +1271,7 @@ The :class:`template context <django.template.Context>` used is:
|
||||||
- ``project_directory`` -- the full path of the newly created project
|
- ``project_directory`` -- the full path of the newly created project
|
||||||
- ``secret_key`` -- a random key for the :setting:`SECRET_KEY` setting
|
- ``secret_key`` -- a random key for the :setting:`SECRET_KEY` setting
|
||||||
- ``docs_version`` -- the version of the documentation: ``'dev'`` or ``'1.x'``
|
- ``docs_version`` -- the version of the documentation: ``'dev'`` or ``'1.x'``
|
||||||
|
- ``django_version`` -- the version of Django, e.g.``'2.0.3'``
|
||||||
|
|
||||||
Please also see the :ref:`rendering warning <render_warning>` as mentioned
|
Please also see the :ref:`rendering warning <render_warning>` as mentioned
|
||||||
for :djadmin:`startapp`.
|
for :djadmin:`startapp`.
|
||||||
|
|
Loading…
Reference in New Issue