#15395 closed (fixed)
http decorators docs doesn't provide import path
Description ¶
The various decorators documented at http://docs.djangoproject.com/en/dev/topics/http/decorators/ actually live in different modules but only require_http_methods has a documented import path.
For example, in order to use gzip_page(), you have to import it from from django.views.decorators.gzip.
The import is not documented.
Likewise, vary_on_headers and vary_on_cookie actually live in django.views.decorators.vary.
Change History (3)
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [15671]: