[Django] #29250: Add 'django_version' context variable reference documentation for startapp and startproject

11 views
Skip to first unread message

Django

unread,
Mar 22, 2018, 12:35:28 PM3/22/18
to django-...@googlegroups.com
#29250: Add 'django_version' context variable reference documentation for startapp
and startproject
------------------------------------------+------------------------
Reporter: Graham Ullrich | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 2.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------+------------------------
The reference documentation for management commands `startapp` and
`startproject` (see https://docs.djangoproject.com/en/2.0/ref/django-
admin/#startapp and https://docs.djangoproject.com/en/2.0/ref/django-
admin/#startproject) omits a useful context variable, 'django_version',
seen in
[core/management/templates.py](https://github.com/django/django/blob/master/django/core/management/templates.py#L112).

--
Ticket URL: <https://code.djangoproject.com/ticket/29250>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 22, 2018, 12:39:29 PM3/22/18
to django-...@googlegroups.com
#29250: Add 'django_version' context variable reference documentation for startapp
and startproject
--------------------------------+------------------------------------------
Reporter: Graham Ullrich | Owner: Graham Ullrich
Type: Uncategorized | Status: assigned
Component: Documentation | Version: 2.0
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------+------------------------------------------
Changes (by Graham Ullrich):

* status: new => assigned
* owner: nobody => Graham Ullrich


--
Ticket URL: <https://code.djangoproject.com/ticket/29250#comment:1>

Django

unread,
Mar 22, 2018, 12:51:32 PM3/22/18
to django-...@googlegroups.com
#29250: Add 'django_version' context variable reference documentation for startapp
and startproject
-------------------------------------+-------------------------------------

Reporter: Graham Ullrich | Owner: Graham
Type: | Ullrich
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 2.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted


Comment:

The code was added in 4c123d0f79b3f417ec5b030c616365882e734a1e.

--
Ticket URL: <https://code.djangoproject.com/ticket/29250#comment:2>

Django

unread,
Mar 22, 2018, 12:57:45 PM3/22/18
to django-...@googlegroups.com
#29250: Add 'django_version' context variable reference documentation for startapp
and startproject
-------------------------------------+-------------------------------------
Reporter: Graham Ullrich | Owner: Graham
Type: | Ullrich
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 2.0

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Graham Ullrich):

* has_patch: 0 => 1


Comment:

Fix in https://github.com/django/django/pull/9815

--
Ticket URL: <https://code.djangoproject.com/ticket/29250#comment:3>

Django

unread,
Mar 22, 2018, 9:36:49 PM3/22/18
to django-...@googlegroups.com
#29250: Add 'django_version' context variable reference documentation for startapp
and startproject
-------------------------------------+-------------------------------------
Reporter: Graham Ullrich | Owner: Graham
Type: | Ullrich
Cleanup/optimization | Status: closed
Component: Documentation | Version: 2.0
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"ee7f51c66dfc1700ff065dfeb5fe2388cc2e9619" ee7f51c6]:
{{{
#!CommitTicketReference repository=""
revision="ee7f51c66dfc1700ff065dfeb5fe2388cc2e9619"
Fixed #29250 -- Added 'django_version' context to startapp/project docs.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29250#comment:4>

Django

unread,
Mar 22, 2018, 9:37:03 PM3/22/18
to django-...@googlegroups.com
#29250: Add 'django_version' context variable reference documentation for startapp
and startproject
-------------------------------------+-------------------------------------
Reporter: Graham Ullrich | Owner: Graham
Type: | Ullrich
Cleanup/optimization | Status: closed
Component: Documentation | Version: 2.0

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"0118a2113d33353f15ed9b1e2d36ce81073f5110" 0118a21]:
{{{
#!CommitTicketReference repository=""
revision="0118a2113d33353f15ed9b1e2d36ce81073f5110"
[2.0.x] Fixed #29250 -- Added 'django_version' context to startapp/project
docs.

Backport of ee7f51c66dfc1700ff065dfeb5fe2388cc2e9619 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29250#comment:5>

Reply all
Reply to author
Forward
0 new messages