Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Carl Meyer authored March 17, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  tests/runtests.py
1  tests/runtests.py
@@ -117,6 +117,7 @@ def setup(verbosity, test_labels):
117 117
     if geodjango(settings):
118 118
         from django.contrib.gis.tests import geo_apps
119 119
         test_modules.extend(geo_apps(runtests=True))
  120
+        settings.INSTALLED_APPS.extend(['django.contrib.gis', 'django.contrib.sitemaps'])
120 121
 
121 122
     for module_dir, module_name in test_modules:
122 123
         module_label = '.'.join([module_dir, module_name])

0 notes on commit e57bede

Please sign in to comment.
Something went wrong with that request. Please try again.