summaryrefslogtreecommitdiff
path: root/docs/ref/class-based-views
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot2023-03-017-55/+84
|
* Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson2023-02-101-3/+7
| | | | | Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews.
* Removed versionadded/changed annotations for 4.1.Mariusz Felisiak2023-01-171-10/+0
|
* Removed versionadded/changed annotations for 4.0.Carlton Gibson2022-05-171-7/+0
|
* Updated note about ListView pagination example in CBV docs.Theofilos Alexiou2022-04-191-2/+1
| | | Follow up to 0f0abc20be55d796ecfc3e7698e7ecfd9e9cdf88.
* Fixed #33611 -- Allowed View subclasses to define async method handlers.Carlton Gibson2022-04-071-0/+19
|
* Rewrote some references to "master".Adam Johnson2022-03-081-3/+3
| | | | Following d9a266d657f66b8c4fa068408002a4e3709ee669.
* Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.David Smith2021-10-201-1/+1
|
* Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.David Smith2021-10-181-2/+2
|
* Removed versionadded/changed annotations for 3.2.Mariusz Felisiak2021-09-202-8/+0
|
* Fixed #21936 -- Allowed DeleteView to work with custom Forms and ↵Carlton Gibson2021-07-141-0/+21
| | | | | | | | | SuccessMessageMixin. Thanks to Mariusz Felisiak for review. Co-authored-by: Demetris Stavrou <demestav@gmail.com> Co-authored-by: Caroline Simpson <github@hoojiboo.com>
* Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.Nick Pope2021-05-171-1/+1
|
* Fixed #32536 -- Added links to BaseDetailView/BaseListView.get() methods in ↵Hasan Ramezani2021-03-162-3/+3
| | | | CBV docs.
* Fixed #32271 -- Improved consistency of docs CBV examples.Jack Aitken2021-03-022-6/+6
| | | | Co-Authored-By: Carles Pina i Estany <carles@pina.cat>
* Used .. attribute:: directive in authentication views docs.Mariusz Felisiak2021-02-081-1/+1
|
* Fixed #32430 -- Doc'd base class-based views.Anil Khatri2021-02-081-4/+76
|
* Fixed #32408 -- Doc'd django.views.generic.detail.BaseDetailView.Anil Khatri2021-02-083-3/+23
|
* Fixed #31877 -- Reverted "Fixed #19878 -- Deprecated TemplateView passing ↵Mariusz Felisiak2020-08-241-8/+4
| | | | | | URL kwargs into context." This reverts commit 4ed534758cb6a11df9f49baddecca5a6cdda9311.
* Fixed #31620 -- Added support for %V format to WeekMixin/WeekArchiveView.Hasan Ramezani2020-06-262-1/+12
| | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #31696 -- Updated OWASP links in docs.Hasan Ramezani2020-06-151-1/+1
|
* Made minor edits to TemplateResponseMixin.get_template_names() docs.Fabio Sangiovanni2020-06-011-2/+2
|
* Added SingleObjectMixin.query_pk_and_slug to CBV flattened index.Fabio Sangiovanni2020-06-011-0/+5
|
* Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context.Adam Johnson2020-03-231-4/+8
|
* Fixed #31270 -- Doc'd RedirectView.get_redirect_url() arguments.Hasan Ramezani2020-02-141-0/+4
|
* Refs #20456 -- Moved initialization of HEAD method based on GET to the ↵Felipe Lee2019-10-301-5/+2
| | | | | | | | 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.
* Removed versionadded/changed annotations for 2.2.Mariusz Felisiak2019-09-101-2/+0
|
* Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze2019-09-065-9/+8
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline.Tim Graham2019-01-171-1/+1
|
* Fixed #29750 -- Added View.setup() hook for class-based views.François Freitag2018-12-213-5/+37
|
* Used auto-numbered lists in documentation.François Freitag2018-11-152-28/+27
|
* Corrected ModelFormMixin.form_invalid() signature in docs.Jon Dufresne2018-08-271-1/+1
|
* Mentioned SuccessMessageMixin in generic editing views docs.Claude Paroz2018-05-251-0/+6
|
* Documented DeletionMixin.delete().Claude Paroz2018-05-241-0/+5
|
* Removed versionadded/changed annotations for 2.0.Tim Graham2018-05-171-2/+0
|
* Alphabetized imports in various docs.Mariusz Felisiak2018-05-122-4/+4
| | | Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
* Fixed #29375 -- Removed empty action attribute on HTML forms.CHI Cheng2018-05-021-4/+4
|
* Added a pagination example to ListView docs.AK2018-03-261-0/+5
|
* Fixed #29038 -- Removed closing slash from HTML void tags.Jon Dufresne2018-01-211-4/+4
|
* Fixed #28627 -- Added slug converter to some path() examples in docs.Christopher Schäpers2017-09-251-1/+1
|
* Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.Sjoerd Job Postmus2017-09-205-46/+46
| | | | | | 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.
* Removed unneeded right quotes in docs to fix spelling errors.Tim Graham2017-07-181-1/+1
| | | | | A regression in pyenchant caused a problem: https://github.com/rfk/pyenchant/issues/93
* Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context ↵Bruno Alla2017-07-063-0/+30
| | | | in as_view().
* Fixed #28294 -- Doc'd request/args/kwargs attributes of class-based views.Mike Vasiliou2017-06-281-0/+7
|
* Fixed typo in docs/ref/class-based-views/mixins-single-object.txt.Tim Graham2017-06-061-1/+1
|
* Refs #23919 -- Replaced super(ClassName, self) with super() in docs.chillaranand2017-01-254-6/+6
|
* Removed versionadded/changed annotations for 1.10.Tim Graham2017-01-171-4/+0
|
* Fixed #27680 -- Linked to "Classy Class-Based Views" in docs.jpic2017-01-041-1/+6
|
* Fixed #26695 -- Clarified return value of View.options().Tim Graham2016-06-011-2/+4
| | | | Thanks mmoreaux and DheerendraRathor.
* Removed versionadded/changed annotations for 1.9.Tim Graham2016-05-202-14/+0
|
* Fixed #26376 -- Clarifed meaning of 'search' in ↵Tim Graham2016-03-211-1/+1
| | | | TemplateResponseMixin.get_template_names() docs.