Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#29250 closed Cleanup/optimization (fixed)

Add 'django_version' context variable reference documentation for startapp and startproject

Reported by: Graham Ullrich Owned by: Graham Ullrich
Component: Documentation Version: 2.0
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

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).

Change History (5)

comment:1 by Graham Ullrich, 6 years ago

Owner: changed from nobody to Graham Ullrich
Status: newassigned

comment:2 by Tim Graham, 6 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

comment:3 by Graham Ullrich, 6 years ago

Has patch: set

comment:4 by Tim Graham <timograham@…>, 6 years ago

Resolution: fixed
Status: assignedclosed

In ee7f51c6:

Fixed #29250 -- Added 'django_version' context to startapp/project docs.

comment:5 by Tim Graham <timograham@…>, 6 years ago

In 0118a21:

[2.0.x] Fixed #29250 -- Added 'django_version' context to startapp/project docs.

Backport of ee7f51c66dfc1700ff065dfeb5fe2388cc2e9619 from master

Note: See TracTickets for help on using tickets.
Back to Top