Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/generic_views/views.py
Commit message (Collapse)AuthorAgeFilesLines
* Converted test fixtures to setUpTestData methodsJosh Smeaton2015-03-051-1/+1
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
|
* Fixed #24220 - Allowed lazy objects for success_urlTomáš Ehrlich2015-01-261-3/+1
|
* Fixed #18355 -- Added ordering options to list based ↵Peter Harley2014-08-151-0/+4
| | | | | | | | generic views. Added MultipleObjectMixin.ordering and get_ordering(). Refs #21450.
* Fixed #21619 -- Made SingleObjectMixin.get_object catch ↵Peter Harley2013-12-151-0/+5
| | | | | | a more precise exception. Thanks to Keryn Knight for the report.
* PEP8 cleanupJason Myers2013-11-031-0/+19
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed flake8 E241Boryslav Larin2013-11-021-1/+1
|
* Fix all violators of E231Alex Gaynor2013-10-261-3/+3
|
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+1
|
* adds fix for SingleObjectTemplateResponseMixin raising a ↵Ian Wilson2013-09-061-0/+8
| | | | TemplateDoesNotExist when it should have raised an ImproperlyConfigured. fixes 16502. by @ianawilson, @jambonrose
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Fixed #20234 and #20236 -- SingleObjectMixin fixesKarol Sikora2013-05-181-1/+4
| | | | | Added object on SingleObjectMixin returned context, some code clanup.
* Fixed #20235 -- Use self.object_list if object_list not ↵Matthew Somerville2013-05-181-0/+11
| | | | | | | present in get_context_data kwargs. This is so MultipleObjectMixin can be used in the same way as SingleObjectMixin.
* Fixed #19733 - deprecated ModelForms without 'fields' or ↵Luke Plant2013-05-091-0/+9
| | | | | | | | 'exclude', and 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.
* Modified generic_views for unittest2 discovery.Preston Timmons2013-04-121-1/+1
|
* Fixed #16319 -- added SuccessMessageMixin to ↵Paul Collins2013-03-201-0/+1
| | | | | | contrib.messages Thanks martinogden for the initial patch and d1ffuz0r for tests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-261-0/+250