diff options
| author | Graham Ullrich <graham@flyingcracker.com> | 2018-03-22 10:49:36 -0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-03-22 21:06:50 -0400 |
| commit | ee7f51c66dfc1700ff065dfeb5fe2388cc2e9619 (patch) | |
| tree | c63892c2b2897c7e454ce43339fd13ea4e127b6e /docs/ref | |
| parent | de0e54ea00a57a1255a1b8b8f39f6d6aade04de7 (diff) | |
Fixed #29250 -- Added 'django_version' context to startapp/project docs.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 9b167ea1f4..1cd8ee7034 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1198,6 +1198,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: @@ -1267,6 +1268,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`. |
