From 2607fa901699916c4825f145fa8a84f49b8524ff Mon Sep 17 00:00:00 2001 From: Marc Tamlyn Date: Tue, 14 Jan 2014 15:43:27 +0000 Subject: Fixed #21774 -- Isolate all test urls from eachother. This (nearly) completes the work to isolate all the test modules from each other. This is now more important as importing models from another module will case PendingDeprecationWarnings if those modules are not in INSTALLED_APPS. The only remaining obvious dependencies are: - d.c.auth depends on d.c.admin (because of the is_admin flag to some views), but this is not so important and d.c.admin is in always_installed_apps - test_client_regress depends on test_client. Eventually these should become a single module, as the split serves no useful purpose. --- tests/contenttypes_tests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/contenttypes_tests') diff --git a/tests/contenttypes_tests/models.py b/tests/contenttypes_tests/models.py index b2669367eb..d47cfac7f7 100644 --- a/tests/contenttypes_tests/models.py +++ b/tests/contenttypes_tests/models.py @@ -12,7 +12,7 @@ class Author(models.Model): return self.name def get_absolute_url(self): - return '/views/authors/%s/' % self.id + return '/authors/%s/' % self.id @python_2_unicode_compatible -- cgit v1.3