Ticket #10397: create_spatial_db_support_transactions.diff

File create_spatial_db_support_transactions.diff, 565 bytes (added by jbronn, 16 years ago)
  • django/contrib/gis/db/backend/postgis/creation.py

     
    140140    # Closing the connection
    141141    connection.close()
    142142    settings.DATABASE_NAME = db_name
     143    settings.DATABASE_SUPPORTS_TRANSACTIONS = connection.creation._rollback_works()
    143144
    144145    # Syncing the database
    145146    call_command('syncdb', verbosity=verbosity, interactive=interactive)
Back to Top