mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
ddd53dafb5
commit
e57bedee78
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue