From 68f81c873d16c3068638dea1bddddf0c62fb6ded Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Fri, 6 Mar 2009 02:01:20 +0000 Subject: [PATCH] Fixed #10397 -- made GIS test runner compatible with changes in r9756. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9978 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/gis/db/backend/postgis/creation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/gis/db/backend/postgis/creation.py b/django/contrib/gis/db/backend/postgis/creation.py index 32e6841b543..a53ec71d400 100644 --- a/django/contrib/gis/db/backend/postgis/creation.py +++ b/django/contrib/gis/db/backend/postgis/creation.py @@ -140,6 +140,7 @@ def create_spatial_db(test=False, verbosity=1, autoclobber=False, interactive=Fa # Closing the connection connection.close() settings.DATABASE_NAME = db_name + settings.DATABASE_SUPPORTS_TRANSACTIONS = connection.creation._rollback_works() # Syncing the database call_command('syncdb', verbosity=verbosity, interactive=interactive)