summaryrefslogtreecommitdiff
path: root/docs/topics/class-based-views
AgeCommit message (Collapse)Author
2019-03-12[2.2.x] Fixed #30161 -- Added how to decorate class-based views to view ↵alexanderblnf
decorators docs. Backport of 406de977ea1a6429535d21240e3ecdac06d4516c from master.
2019-01-31[2.2.x] Used LoginRequiredMixin in "Models and request.user" example.Daniel Roseman
Backport of 6da28d5edfaee1858c8f7ae603a717aaa05e15cf from master.
2018-12-21Fixed #29750 -- Added View.setup() hook for class-based views.François Freitag
2018-09-25Normalized spelling of "lowercase" and "lowercased".Jon Dufresne
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney
2018-07-07Removed usage of 'object' variable name in docs.Harry Moreno
2018-05-12Alphabetized imports in various docs.Mariusz Felisiak
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
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-06Fixed #28331 -- Added ContextMixin.extra_context to allowing passing context ↵Bruno Alla
in as_view().
2017-06-26Refs #23919 -- Stopped inheriting from object to define new style classes.Mariusz Felisiak
Tests and docs complement to cecc079168e8669138728d31611ff3a1e7eb3a9f.
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super() in docs.chillaranand
2017-01-18Refs #23919 -- Removed Python 2 notes in docs.Tim Graham
2016-09-28Fixed #27289 -- Corrected View.as_view() explanation.Tim Graham
Thanks Graham Wideman for the report.
2016-07-06Fixed typo in docs/topics/class-based-views/generic-display.txtTaylor Edmiston
2016-06-27Added missing trailing '$' to url() patterns in docs.Ramiro Morales
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
2016-04-18Fixed typo in docs/topics/class-based-views/mixins.txteltronix
2016-04-09Fixed #25847 -- Made User.is_(anonymous|authenticated) properties.Jeremy Lainé
2016-02-01Fixed #26124 -- Added missing code formatting to docs headers.rowanv
2016-01-22Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
2016-01-11Added missing period to "etc.".pp
2016-01-11Fixed #25385 -- Allowed importing views.generic.View from views.View.Varun Sharma
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-11-07Fixed #25473 -- Changed underscores in url() names to dashes in docs.Thijs van Dien
To improve consistency, sample URL names that had underscores in them now use dashes instead. That excludes URL names that have some relation to the code, such as those generated by the admin. Thanks guettli for reporting this.
2015-10-23Fixed #25397 -- Documented class-based view context variable clash with ↵Jacek Bzdak
context processors.
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
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-08Updated Wikipedia links to use httpsClaude Paroz
2015-08-01Fixed #25146 -- Allowed method_decorator() to decorate classes.Rigel Di Scala
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
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-12-28Deprecated TEMPLATE_LOADERS.Aymeric Augustin
2014-12-19Used https for most *.python.org linksClaude Paroz
2014-11-21Fixed #21753 -- Raised exception when both `form_class` and `fields` are ↵Berker Peksag
specified.
2014-10-30Fixed #23656 -- Made FormMixin.get_form's form_class argument optional.Simon Charette
Thanks Tim Graham for the review.
2014-08-23Fixed #22154 -- Added "Built-in" to some class-based views titles.Tim Graham
2014-08-19Removed unnecessary code-block directives.areski
2014-07-31Used JsonResponse in CBV examples.Loic Bistuer
Thanks Hiroki Kiyohara and Tim Graham for the reviews.
2014-05-05Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt.Tim Graham
Thanks adminq80 at gmail.com.
2014-04-16Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.chriscauley
Thanks tomwys for the suggestion.
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-22Made ModelForms raise ImproperlyConfigured if the list of fields is not ↵Tim Graham
specified. Also applies to modelform(set)_factory and generic model views. refs #19733.
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-03-03Fixed some typos and formatting issues in docs.Rodolfo Carvalho
2014-02-28Fixed spelling mistakes in docs.Tim Graham
2014-02-28Fixed doc typos.Tim Graham
2014-02-22Fixed #22113 -- changed object_name to model_name in CBV docs.Marcin Sokół
Thanks to trac user nikunj.sg for the report.