Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/generic_views
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #20478 – Added support for HTTP PATCH method in ↵Krzysztof Jurewicz2013-05-221-0/+6
| | | | generic views.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-214-11/+11
| | | | Gives much nicer errors when it fails.
* Fixed #20234 and #20236 -- SingleObjectMixin fixesKarol Sikora2013-05-182-1/+17
| | | | | Added object on SingleObjectMixin returned context, some code clanup.
* Fixed #20235 -- Use self.object_list if object_list not ↵Matthew Somerville2013-05-182-0/+31
| | | | | | | present in get_context_data kwargs. This is so MultipleObjectMixin can be used in the same way as SingleObjectMixin.
* Fixed #17365, #17366, #18727 -- Switched to discovery ↵Carl Meyer2013-05-111-11/+0
| | | | | | | | | | | test runner. 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.
* Fixed #19733 - deprecated ModelForms without 'fields' or ↵Luke Plant2013-05-093-1/+53
| | | | | | | | '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-128-6/+6
|
* Fixed #16319 -- added SuccessMessageMixin to ↵Paul Collins2013-03-201-0/+1
| | | | | | contrib.messages Thanks martinogden for the initial patch and d1ffuz0r for tests.
* Renamed some tests and removed references to ↵Florian Apolloner2013-02-265-13/+13
| | | | modeltests/regressiontests.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-2636-0/+2369