summaryrefslogtreecommitdiff
path: root/tests/generic_views/test_detail.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-12-30Fixed #26006 -- Fixed incorrect object reference in ↵Chris Cogdon
SingleObjectMixin.get_context_object_name().
2015-04-25Fixed #24689 -- Fixed DetailView methods with deferred QuerySet.Artis Avotins
2015-03-05Converted test fixtures to setUpTestData methodsJosh Smeaton
2014-11-03Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag
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-04-06Fixed #21977 -- Deprecated SimpleTestCase.urlsAnubhav Joshi
2013-12-15Fixed #21619 -- Made SingleObjectMixin.get_object catch a more precise ↵Peter Harley
exception. Thanks to Keryn Knight for the report.
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-05-21Use assertIsInstance in tests.Marc Tamlyn
Gives much nicer errors when it fails.
2013-04-12Modified generic_views for unittest2 discovery.Preston Timmons