Ticket #10397: create_spatial_db_support_transactions.diff
File create_spatial_db_support_transactions.diff, 565 bytes (added by , 16 years ago) |
---|
-
django/contrib/gis/db/backend/postgis/creation.py
140 140 # Closing the connection 141 141 connection.close() 142 142 settings.DATABASE_NAME = db_name 143 settings.DATABASE_SUPPORTS_TRANSACTIONS = connection.creation._rollback_works() 143 144 144 145 # Syncing the database 145 146 call_command('syncdb', verbosity=verbosity, interactive=interactive)