http decorators docs doesn't provide import path
|Reported by:||slinkp@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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 Changed 5 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 5 years ago by gabrielhurley
- Resolution set to fixed
- Status changed from new to closed