summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Ullrich <graham@flyingcracker.com>2018-03-22 10:49:36 -0600
committerTim Graham <timograham@gmail.com>2018-03-22 21:36:43 -0400
commit0118a2113d33353f15ed9b1e2d36ce81073f5110 (patch)
tree296cc39606cedccecddce850421992a26ee89472
parentba483c346b7a6c6e33298b24c286dad1fbfbdea6 (diff)
[2.0.x] Fixed #29250 -- Added 'django_version' context to startapp/project docs.
Backport of ee7f51c66dfc1700ff065dfeb5fe2388cc2e9619 from master
-rw-r--r--docs/ref/django-admin.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 438c77af2f..20f6445834 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1201,6 +1201,7 @@ files is:
- ``app_directory`` -- the full path of the newly created app
- ``camel_case_app_name`` -- the app name in camel case format
- ``docs_version`` -- the version of the documentation: ``'dev'`` or ``'1.x'``
+- ``django_version`` -- the version of Django, e.g.``'2.0.3'``
.. _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
- ``secret_key`` -- a random key for the :setting:`SECRET_KEY` setting
- ``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
for :djadmin:`startapp`.