summaryrefslogtreecommitdiff
path: root/docs/topics/class-based-views/intro.txt
AgeCommit message (Collapse)Author
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.
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
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-03-12Fixed #30161 -- Added how to decorate class-based views to view decorators docs.alexanderblnf
2018-12-21Fixed #29750 -- Added View.setup() hook for class-based views.François Freitag
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-01-25Refs #23919 -- Replaced super(ClassName, self) with super() in docs.chillaranand
2016-09-28Fixed #27289 -- Corrected View.as_view() explanation.Tim Graham
Thanks Graham Wideman for the report.
2016-06-27Added missing trailing '$' to url() patterns in docs.Ramiro Morales
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
2016-01-11Added missing period to "etc.".pp
2016-01-11Fixed #25385 -- Allowed importing views.generic.View from views.View.Varun Sharma
2015-09-18Fixed #25269 -- Allowed method_decorator() to accept a list/tuple of decorators.fabrizio ettore messina
2015-08-18Used consistent capitalization and hyphenation of "class-based views" in docs.Anton Strogonoff
2015-08-01Fixed #25146 -- Allowed method_decorator() to decorate classes.Rigel Di Scala
2015-06-17Fixed #24914 -- Added authentication mixins for CBVsMarkus Holtermann
Added the mixins LoginRequiredMixin, PermissionRequiredMixin and UserPassesTestMixin to contrib.auth as counterparts to the respective view decorators. The authentication mixins UserPassesTestMixin, LoginRequiredMixin and PermissionRequiredMixin have been inspired by django-braces <https://github.com/brack3t/django-braces/> Thanks Raphael Michel for the initial patch, tests and docs on the PR and Ana Balica, Kenneth Love, Marc Tamlyn, and Tim Graham for the review.
2015-04-20Fixed typo in docs/topics/class-based-views/intro.txtAnton
2014-04-03Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-03-17Amended login required mixin documentation to honor **initkwargs.Simon Charette
2014-03-17Fixed #22006 -- Documented how to write a login_required mixin for CBVs.Tim Graham
Thanks django at patjack.co.uk for the suggestion and mockforest for the draft patch.
2014-02-22Fixed #22007 -- Fixed cbv docs - make imports consistentMartin Matusiak
Thanks to trac user kinjal.dixit for the report.
2013-08-10Fixed #20890 -- Added missing import in class-based view docs.Tim Graham
Thanks André Augusto.
2013-06-23Fixed errors and inconsistencies in CBV topic documentation.Baptiste Mispelon
The code examples should now work correctly. The `get_context_data` method in the examples was changed when necessary to adopt a singular style (get context with super(...), add the extra keys to the dict then return it). Thanks to Remco Wendt for the initial report and to Tim Graham for the review.
2013-04-16Fixed #20266 -- Updated view example in CBV introductionClaude Paroz
Thanks jim at hellolocals.com for the report.
2013-03-13Fixed an erroneous import in example code.Pablo Sanfilippo
2013-02-28Fixed #19937 - Typo in class-based views intro.Tim Graham
2013-02-27Fixed #16807 - Added a class-based views intro.Tim Graham
Thanks Preston Holmes for the text.