summaryrefslogtreecommitdiff
path: root/docs/ref/class-based-views
AgeCommit message (Collapse)Author
2025-11-20Fixed #36734 -- Clarified the behavior of View.http_method_not_allowed.Zubair Hassan
2025-08-25Refs #36485 -- Rewrapped docs to 79 columns line length.David Smith
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
2025-08-25Refs #36485 -- Removed double spaces after periods in sentences.Natalia
2025-08-25Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in ↵David Smith
docs.
2025-03-13Fixed incorrect formatting for inline pluralized code references in docs.Clifford Gama
2025-01-03Fixed #36026 -- Clarified that View.setup() sets the request, args, kwargs ↵Chaitanya Rahalkar
attributes.
2024-12-18Fixed #26007 -- Clarified ↵Andrew Miller
SingleObjectTemplateResponseMixin.get_template_names() docs.
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-10Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews.
2023-01-17Removed versionadded/changed annotations for 4.1.Mariusz Felisiak
2022-05-17Removed versionadded/changed annotations for 4.0.Carlton Gibson
2022-04-19Updated note about ListView pagination example in CBV docs.Theofilos Alexiou
Follow up to 0f0abc20be55d796ecfc3e7698e7ecfd9e9cdf88.
2022-04-07Fixed #33611 -- Allowed View subclasses to define async method handlers.Carlton Gibson
2022-03-08Rewrote some references to "master".Adam Johnson
Following d9a266d657f66b8c4fa068408002a4e3709ee669.
2021-10-20Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.David Smith
2021-10-18Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.David Smith
2021-09-20Removed versionadded/changed annotations for 3.2.Mariusz Felisiak
2021-07-14Fixed #21936 -- Allowed DeleteView to work with custom Forms and ↵Carlton Gibson
SuccessMessageMixin. Thanks to Mariusz Felisiak for review. Co-authored-by: Demetris Stavrou <demestav@gmail.com> Co-authored-by: Caroline Simpson <github@hoojiboo.com>
2021-05-17Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.Nick Pope
2021-03-16Fixed #32536 -- Added links to BaseDetailView/BaseListView.get() methods in ↵Hasan Ramezani
CBV docs.
2021-03-02Fixed #32271 -- Improved consistency of docs CBV examples.Jack Aitken
Co-Authored-By: Carles Pina i Estany <carles@pina.cat>
2021-02-08Used .. attribute:: directive in authentication views docs.Mariusz Felisiak
2021-02-08Fixed #32430 -- Doc'd base class-based views.Anil Khatri
2021-02-08Fixed #32408 -- Doc'd django.views.generic.detail.BaseDetailView.Anil Khatri
2020-08-24Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing ↵Mariusz Felisiak
URL kwargs into context." This reverts commit 4ed534758cb6a11df9f49baddecca5a6cdda9311.
2020-06-26Fixed #31620 -- Added support for %V format to WeekMixin/WeekArchiveView.Hasan Ramezani
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-06-15Fixed #31696 -- Updated OWASP links in docs.Hasan Ramezani
2020-06-01Made minor edits to TemplateResponseMixin.get_template_names() docs.Fabio Sangiovanni
2020-06-01Added SingleObjectMixin.query_pk_and_slug to CBV flattened index.Fabio Sangiovanni
2020-03-23Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context.Adam Johnson
2020-02-14Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.Hasan Ramezani
2019-10-30Refs #20456 -- Moved initialization of HEAD method based on GET to the ↵Felipe Lee
View.setup() for generic views. This will ease unit testing of views since setup will essentially do everything needed to set the view instance up (other than instantiating it). Credit for idea goes to Vincent Prouillet.
2019-09-10Removed versionadded/changed annotations for 2.2.Mariusz Felisiak
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-01-17Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline.Tim Graham
2018-12-21Fixed #29750 -- Added View.setup() hook for class-based views.François Freitag
2018-11-15Used auto-numbered lists in documentation.François Freitag
2018-08-27Corrected ModelFormMixin.form_invalid() signature in docs.Jon Dufresne
2018-05-25Mentioned SuccessMessageMixin in generic editing views docs.Claude Paroz
2018-05-24Documented DeletionMixin.delete().Claude Paroz
2018-05-17Removed versionadded/changed annotations for 2.0.Tim Graham
2018-05-12Alphabetized imports in various docs.Mariusz Felisiak
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
2018-05-02Fixed #29375 -- Removed empty action attribute on HTML forms.CHI Cheng
2018-03-26Added a pagination example to ListView docs.AK
2018-01-21Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne
2017-09-25Fixed #28627 -- Added slug converter to some path() examples in docs.Christopher Schäpers
2017-09-20Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus
Thanks Aymeric Augustin for shepherding the DEP and patch review. Thanks Marten Kenbeek and Tim Graham for contributing to the code. Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-07-18Removed unneeded right quotes in docs to fix spelling errors.Tim Graham
A regression in pyenchant caused a problem: https://github.com/rfk/pyenchant/issues/93
2017-07-06Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context ↵Bruno Alla
in as_view().
2017-06-28Fixed #28294 -- Doc'd request/args/kwargs attributes of class-based views.Mike Vasiliou