Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#28239 closed Bug (fixed)

incorrect django.template.Context documentation since 1.10

Reported by: fp4code Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The argument current_app was removed from django.template.Context constructor two years ago in version 1.10: https://github.com/django/django/commit/5e450c52aafb62b9d83c8ac08892e0b92cbec4aa

However documentation file docs/ref/templates/api.txt was not fully updated, saying "The constructor takes two optional arguments:", and "The name of the current application..."

Change History (3)

comment:1 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: newclosed

In 0ea32119:

Fixed #28239 -- Removed docs for a removed arg of template.Context.

comment:2 by Tim Graham <timograham@…>, 8 years ago

In 61f61a2:

[1.11.x] Fixed #28239 -- Removed docs for a removed arg of template.Context.

Backport of 0ea321193a1d7f857544760e12058303edd51362 from master

comment:3 by Tim Graham <timograham@…>, 8 years ago

In dc4160e:

[1.10.x] Fixed #28239 -- Removed docs for a removed arg of template.Context.

Backport of 0ea321193a1d7f857544760e12058303edd51362 from master

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