summaryrefslogtreecommitdiff
path: root/docs/topics/class-based-views
AgeCommit message (Collapse)Author
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.
2014-02-22Fixed #22007 -- Fixed cbv docs - make imports consistentMartin Matusiak
Thanks to trac user kinjal.dixit for the report.
2014-02-13Fixed #21951 -- Updated docs to use __str__ for Python 3Alasdair Nicol
Thanks Tim Graham for the report and recommendations
2013-10-14Fixed #21264 -- Incorrect RST usage in docsBouke Haarsma
2013-08-19Removed versionadded/changed annotations for 1.5Tim Graham
2013-08-10Fixed #20890 -- Added missing import in class-based view docs.Tim Graham
Thanks André Augusto.
2013-08-06Fixed #20852 - Fixed incorrectly generated left quotes in docs.Dominic Rodger
Sphinx generates left single quotes for apostrophes after code markup, when right single quotes are required. The easiest way to fix this is just by inserting the unicode character for a right single quote. Instances of the problem were found by looking for ">&#8216;" in the generated HTML.
2013-07-28Fixed ReST typo in topics/class-based-views/mixins.txtTim Graham
2013-07-27Fixed a number of minor misspellings.Julien Phalip
2013-07-05Fixed #20224 -- Update docs examples which mention __unicode__Claude Paroz
Thanks Marc Tamlyn and Tim Graham for the review.
2013-07-01Fixed #20659 -- Fixed PublisherDetail in CBV topic documentation.Baptiste Mispelon
Thanks to tudor.prodan, susan, and Tim Graham for the report and reviews.
2013-06-26Fixed #20658 -- Fixed bad reST formatting and missing parentheses in the ↵Loic Bistuer
docs for CBV mixins Thanks to Keryn Knight for the report.
2013-06-24Fixed #20643 -- Fixed implementation of JSONResponseMixin in CBV docsBaptiste Mispelon
Thanks to Michal Sládek for the report and initial patch, and to loic84 for the review.
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-06-21Fixed #20612 -- Fixed incorrect wording in CBV documentationBaptiste Mispelon
Thanks to ndokos for the report.
2013-06-13Fixed order of base classes in CBV mixin docsDanilo Bargen
2013-05-18Add missing imports and models to the examples in the view layer documentationSilvan Spross
2013-05-09Fixed #19733 - deprecated ModelForms without 'fields' or 'exclude', and ↵Luke Plant
added '__all__' shortcut This also updates all dependent functionality, including modelform_factory and modelformset_factory, and the generic views `ModelFormMixin`, `CreateView` and `UpdateView` which gain a new `fields` attribute.
2013-04-22Fixed #20270 -- Fixed error in AjaxResponseMixin documentationBaptiste Mispelon
2013-04-16Fixed #20266 -- Updated view example in CBV introductionClaude Paroz
Thanks jim at hellolocals.com for the report.