Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #17909 - ensure GeoDjango tests have the templates they need. T…

…hanks Nate Bragg for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e57bedee78de9a0893005a08299e5a4396ebfbaa 1 parent ddd53da
@carljm carljm authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/runtests.py
View
1  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])
Please sign in to comment.
Something went wrong with that request. Please try again.