#24458: Documentation often overlooks class-based views
-------------------------------+--------------------
Reporter: danielquinn | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------
While the explanation of what CBVs are and why we use them is concise,
there isn't much in the way of covering how to use them with different
components in Django. Many examples show only how to use a feature with
function-based views, with no explanation as to how this would translate
to CBVs. Below I've listed some sections that could use some attention:
* https://docs.djangoproject.com/en/1.7/topics/http/sessions/#setting-
test-cookies
* https://docs.djangoproject.com/en/1.7/topics/http/sessions/#examples
* https://docs.djangoproject.com/en/1.7/topics/auth/default/#the-login-
required-decorator
* https://docs.djangoproject.com/en/1.7/topics/cache/#the-per-view-cache
* https://docs.djangoproject.com/en/1.7/topics/cache/#using-vary-headers
* https://docs.djangoproject.com/en/1.7/topics/cache/#controlling-cache-
using-other-headers
* https://docs.djangoproject.com/en/1.7/topics/pagination/#using-
paginator-in-a-view
* https://docs.djangoproject.com/en/1.7/topics/conditional-view-processing
/#the-condition-decorator
--
Ticket URL: <https://code.djangoproject.com/ticket/24458>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.88b6bf13e5b210f15c962287b4dfba76%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.