summaryrefslogtreecommitdiff
path: root/tests/generic_views
AgeCommit message (Collapse)Author
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
2013-06-22Fixed #18872 -- Added prefix to FormMixinGilberto Gonçalves
Thanks @ibustama for the initial patch and dragonsnaker for opening the report.
2013-06-14Fixed #15273 -- Extend RedirectView to allow reversal by name.Marc Tamlyn
Thanks to @DrMeers for the report and @ludwigkraatz for the initial patch.
2013-05-22Fixed #20478 – Added support for HTTP PATCH method in generic views.Krzysztof Jurewicz
2013-05-21Use assertIsInstance in tests.Marc Tamlyn
Gives much nicer errors when it fails.
2013-05-18Fixed #20234 and #20236 -- SingleObjectMixin fixesKarol Sikora
Added object on SingleObjectMixin returned context, some code clanup.
2013-05-18Fixed #20235 -- Use self.object_list if object_list not present in ↵Matthew Somerville
get_context_data kwargs. This is so MultipleObjectMixin can be used in the same way as SingleObjectMixin.
2013-05-10Fixed #17365, #17366, #18727 -- Switched to discovery test runner.Carl Meyer
Thanks to Preston Timmons for the bulk of the work on the patch, especially updating Django's own test suite to comply with the requirements of the new runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the patch and the discovery runner. Refs #11077, #17032, and #18670.
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-12Modified generic_views for unittest2 discovery.Preston Timmons
2013-03-19Fixed #16319 -- added SuccessMessageMixin to contrib.messagesPaul Collins
Thanks martinogden for the initial patch and d1ffuz0r for tests.
2013-02-26Renamed some tests and removed references to modeltests/regressiontests.Florian Apolloner
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner