summaryrefslogtreecommitdiff
path: root/django/views/generic
AgeCommit message (Collapse)Author
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-08Added period in BaseFormView docstring.Collederas
2016-08-31Fixed #25181 -- Added localdate() function to get date in a different time zone.Jon Dufresne
Thanks Konrad Świat for the original patch.
2016-04-29Fixed #26207 -- Replaced dynamic classes with non-data descriptors for ↵Anssi Kääriäinen
deferred instance loading.
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2016-04-04Fixed W503 flake8 warnings.Tim Graham
2016-02-05Fixed #26176 -- Fixed E123 flake8 warnings.Tim Graham
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-30Fixed #26018 -- Prevented unecessary get_form() call in ↵Chris Cogdon
FormMixin.get_context_data(). Changed "dict.setdefault" to "if x in dict" pattern so that get_form() would not be called unnecessarily, specifically in the case where FormMixin.form_invalid() calls get_context_data() with the current form.
2015-12-30Fixed #26006 -- Fixed incorrect object reference in ↵Chris Cogdon
SingleObjectMixin.get_context_object_name().
2015-11-11Fixed #25548 -- Prevented FormView.form_invalid() from discarding its form ↵Alex Morozov
argument.
2015-10-22Fixed "URLconf" spelling in code comments.Tim Graham
2015-09-23Refs #23656 -- Required FormMixin.get_form() form_class parameter to be ↵Tim Graham
optional. Per deprecation timeline.
2015-09-23Refs #24133 -- Removed legacy formatting syntax in success_url placeholders.Tim Graham
Per deprecation timeline.
2015-08-31Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant
2015-06-27Sorted imports in __init__.py files.Tim Graham
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-05-13Removed unnecessary arguments in .get method callsPiotr Jakimiak
2015-04-25Fixed #24689 -- Fixed DetailView methods with deferred QuerySet.Artis Avotins
2015-04-24Fixed #24643 -- Added get_context_data() method to FormMixinAndrei Kulakov
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-02-03Fixed #24263 -- Prevented extra queries on BaseDateDetailView with a custom ↵Tim Graham
queryset. Thanks jekka-ua for the report and patch.
2015-02-03Fixed #24168 -- Allowed selecting a template engine in a few APIs.Aymeric Augustin
Specifically in rendering shortcuts, template responses, and class-based views that return template responses. Also added a test for render_to_response(status=...) which was missing from fdbfc980. Thanks Tim and Carl for the review.
2015-01-26Fixed #24220 - Allowed lazy objects for success_urlTomáš Ehrlich
2015-01-26Fixed #24221 - Used precompiled regexp for percent-placeholder matching.Tomáš Ehrlich
2015-01-18Changed RedirectView.permanent to False per deprecation timeline; refs #21587.Tim Graham
2015-01-17Fixed #24055 -- Keep reference to view class for resolve()Collin Anderson
2015-01-12Fixed #24133 -- Replaced formatting syntax in success_url placeholdersClaude Paroz
Thanks Laurent Payot for the report, and Markus Holtermann, Tim Graham for the reviews.
2014-11-28Corrected deprecation warnings for RedirectView; refs #21587.Berker Peksag
2014-11-25Fixed #21587 -- Added a warning for changing default of RedirectView.permanent.Berker Peksag
2014-11-22Fix another flake8 warning.Carl Meyer
I don't agree with flake8 here about the right indentation, but as long as we're using it, we should stick to it. I don't want to disable its hanging indent checks just because of this case.
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-10-02Fixed #23482 -- Added SingleObjectMixin.query_pk_and_slugJon Dufresne
Enabling the attribute causes get_object() to perform its lookup using both the primary key and the slug.
2014-09-05Limited lines to 119 characters in django/Tim Graham
refs #23395.
2014-08-15Fixed #18355 -- Added ordering options to list based generic views.Peter Harley
Added MultipleObjectMixin.ordering and get_ordering(). Refs #21450.
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
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-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
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-09Fixed #21967: Added check for object in ModelFormMixin.get_form_kwargs.Ryan Kaskel
Thanks lagovas.lagovas at gmail.com for the report.
2014-01-10Fixed typo in docstrings of MonthArchiveViews.Michael Blatherwick
2013-12-16Fixed #21564 -- Use local request object when possible in generic views.Baptiste Mispelon
Thanks to trac user adepue for the report and original patch.
2013-12-15Fixed #21619 -- Made SingleObjectMixin.get_object catch a more precise ↵Peter Harley
exception. Thanks to Keryn Knight for the report.
2013-11-28Fixed E125 pep8 warningsChristopher Medrela
2013-11-03Fixed flake8 E251 violationsMilton Mazzarri
2013-11-02Correct flake8 E302 violationsRay Ashman Jr