From e57bedee78de9a0893005a08299e5a4396ebfbaa Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Sat, 17 Mar 2012 04:39:23 +0000 Subject: [PATCH] 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 --- tests/runtests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/runtests.py b/tests/runtests.py index 944c6aa82e6..fb646219fb6 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])