summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2012-03-17 04:39:23 +0000
committerCarl Meyer <carl@oddbird.net>2012-03-17 04:39:23 +0000
commite57bedee78de9a0893005a08299e5a4396ebfbaa (patch)
treebda946bdd4c4e036181bba6f680b2e7a022dd27c
parentddd53dafb5fa6ba3cd5075c8e7b3214556c73b50 (diff)
Fixed #17909 - ensure GeoDjango tests have the templates they need. Thanks Nate Bragg for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rwxr-xr-xtests/runtests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index 944c6aa82e..fb646219fb 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -117,6 +117,7 @@ def setup(verbosity, test_labels):
if geodjango(settings):
from django.contrib.gis.tests import geo_apps
test_modules.extend(geo_apps(runtests=True))
+ settings.INSTALLED_APPS.extend(['django.contrib.gis', 'django.contrib.sitemaps'])
for module_dir, module_name in test_modules:
module_label = '.'.join([module_dir, module_name])