Ticket #7597: syncdb_connection_fix.diff
File syncdb_connection_fix.diff, 625 bytes (added by , 16 years ago) |
---|
-
django/core/management/commands/syncdb.py
106 106 # to do at this point. 107 107 emit_post_sync_signal(created_models, verbosity, interactive) 108 108 109 # The connection may have been closed by a post_syncdb reciever. 110 cursor = connection.cursor() 111 109 112 # Install custom SQL for the app (but only if this 110 113 # is a model we've just created) 111 114 for app in models.get_apps():