Jon Dufresne
|
8c581ff394
|
Fixed #23482 -- Added SingleObjectMixin.query_pk_and_slug
Enabling the attribute causes get_object() to perform its lookup
using both the primary key and the slug.
|
2014-10-02 15:42:30 -04:00 |
Anubhav Joshi
|
cd914e31c9
|
Fixed #21977 -- Deprecated SimpleTestCase.urls
|
2014-04-06 17:33:43 -04:00 |
Peter Harley
|
cdd6617da6
|
Fixed #21619 -- Made SingleObjectMixin.get_object catch a more precise exception.
Thanks to Keryn Knight for the report.
|
2013-12-15 21:49:52 +01:00 |
Claude Paroz
|
5c1143910e
|
Removed most of absolute_import imports
Should be unneeded with Python 2.7 and up.
Added some unicode_literals along the way.
|
2013-07-29 20:28:13 +02:00 |
Marc Tamlyn
|
09f8652765
|
Use assertIsInstance in tests.
Gives much nicer errors when it fails.
|
2013-05-21 10:42:15 +01:00 |
Preston Timmons
|
3ca3d2206c
|
Modified generic_views for unittest2 discovery.
|
2013-04-12 15:10:04 -06:00 |