Kaydet (Commit) 68f81c87 authored tarafından Justin Bronn's avatar Justin Bronn

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
üst ad6ce1e6
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment