#21768 closed Bug (fixed)
TemplateView doc describes context incorrectly
Reported by: | Ned Batchelder | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.6 |
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
Here: https://docs.djangoproject.com/en/1.6/ref/class-based-views/base/#templateview
The bottom of that section says:
Context
params: The dictionary of keyword arguments captured from the URL pattern that served the view.
but the top says:
Changed in Django 1.5:
The context used to be populated with a {{ params }} dictionary of the
parameters captured in the URL. Now those parameters are first-level context variables.
Change History (5)
comment:1 by , 11 years ago
Has patch: | set |
---|
comment:2 by , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Would that change make sense?