Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/generic_views/test_base.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-3/+3
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-2/+2
|
* Fixed #24168 -- Allowed selecting a template engine in a ↵Aymeric Augustin2015-02-031-1/+15
| | | | | | | | | | | | few APIs. 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.
* Changed RedirectView.permanent to False per deprecation ↵Tim Graham2015-01-181-90/+29
| | | | timeline; refs #21587.
* Fixed #24055 -- Keep reference to view class for resolve()Collin Anderson2015-01-171-0/+10
|
* Applied ignore_warnings to Django testsClaude Paroz2014-12-301-3/+3
|
* Fixed #21587 -- Added a warning for changing default of ↵Berker Peksag2014-11-251-1/+68
| | | | RedirectView.permanent.
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-1/+1
| | | | Django test suite.
* Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi2014-04-061-3/+3
|
* Fixed #21564 -- Use local request object when possible ↵Baptiste Mispelon2013-12-161-0/+18
| | | | | | in generic views. Thanks to trac user adepue for the report and original patch.
* PEP8 cleanupJason Myers2013-11-031-0/+1
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Removed unused local variables in tests.Tim Graham2013-10-191-2/+2
|
* fixed test name from an old, overly specific iteration ↵Ian Wilson2013-09-071-1/+1
| | | | of the test
* adds fix for SingleObjectTemplateResponseMixin raising a ↵Ian Wilson2013-09-061-0/+12
| | | | 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.
* Stopped using django.utils.unittest in the test suite.Aymeric Augustin2013-07-011-1/+1
| | | | Refs #20680.
* Fixed #15273 -- Extend RedirectView to allow reversal by ↵Marc Tamlyn2013-06-141-1/+19
| | | | | | name. Thanks to @DrMeers for the report and @ludwigkraatz for the initial patch.
* Fixed #20478 – Added support for HTTP PATCH method in ↵Krzysztof Jurewicz2013-05-221-0/+6
| | | | generic views.
* Use assertIsInstance in tests.Marc Tamlyn2013-05-211-2/+2
| | | | Gives much nicer errors when it fails.
* Fixed #20234 and #20236 -- SingleObjectMixin fixesKarol Sikora2013-05-181-0/+13
| | | | | Added object on SingleObjectMixin returned context, some code clanup.
* Fixed #20235 -- Use self.object_list if object_list not ↵Matthew Somerville2013-05-181-0/+20
| | | | | | | present in get_context_data kwargs. This is so MultipleObjectMixin can be used in the same way as SingleObjectMixin.
* Modified generic_views for unittest2 discovery.Preston Timmons2013-04-121-0/+413