summaryrefslogtreecommitdiff
path: root/tests/generic_views
AgeCommit message (Collapse)Author
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-06-24Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham
Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-04-28Fixed #24714 -- Used more specific assertions than assertEqual in tests.Alasdair Nicol
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-03-18Fixed #23960 -- Removed http.fix_location_headerClaude Paroz
Thanks Carl Meyer for the report and Tim Graham for the review.
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
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-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-12-30Applied ignore_warnings to Django testsClaude Paroz
2014-12-12Refs #23943 -- Removed an invalid generic_views test.Tim Graham
Using PUT as a method for the form element is no longer supported as described in the ticket.
2014-11-29Fixed #23923 -- Promoted Django's deprecation warnings to errors in runtests.pyTim Graham
2014-11-25Fixed #21587 -- Added a warning for changing default of RedirectView.permanent.Berker Peksag
2014-11-21Fixed #21753 -- Raised exception when both `form_class` and `fields` are ↵Berker Peksag
specified.
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
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-08-15Fixed #18355 -- Added ordering options to list based generic views.Peter Harley
Added MultipleObjectMixin.ordering and get_ordering(). Refs #21450.
2014-08-12Updated tests for added newlines in 68686430638215b5405b20bd767c0be392c9221d.Tim Graham
2014-08-12Added newlines to the ends of CSS, HTML, and JavaScript files missing them.Trey Hunner
2014-08-12Fixed #23276 -- Deprecated passing views as strings to url().Tim Graham
2014-04-16Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.chriscauley
Thanks tomwys for the suggestion.
2014-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
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-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-03-03Fixed many typos in comments and docstrings.Rodolfo Carvalho
Thanks Piotr Kasprzyk for help with the patch.
2014-02-09Fixed #21967: Added check for object in ModelFormMixin.get_form_kwargs.Ryan Kaskel
Thanks lagovas.lagovas at gmail.com for the report.
2013-12-23Imported override_settings from its new location.Aymeric Augustin
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-02PEP8 cleanupJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed flake8 E241Boryslav Larin
2013-10-26Fix all violators of E231Alex Gaynor
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-19Removed unused local variables in tests.Tim Graham
2013-10-18Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-10-01Factorized requires_tz_support decorator in test utilsClaude Paroz
Thanks Aymeric Augustin for the suggestion. Refs #21165.
2013-09-06fixed test name from an old, overly specific iteration of the testIan Wilson
2013-09-06adds fix for SingleObjectTemplateResponseMixin raising a ↵Ian Wilson
TemplateDoesNotExist when it should have raised an ImproperlyConfigured. fixes 16502. by @ianawilson, @jambonrose
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-01Stopped using django.utils.unittest in the test suite.Aymeric Augustin
Refs #20680.
2013-06-29Advanced deprecation warnings for Django 1.7.Aymeric Augustin