Ticket #5066: reset_no_app_r6979.patch

File reset_no_app_r6979.patch, 499 bytes (added by George Vilches, 17 years ago)

Updates patch to fix resets on empty models to r6979.

  • django/core/management/sql.py

     
    189189                if ds:
    190190                    output.append(ds)
    191191
    192     app_label = app_models[0]._meta.app_label
    193 
    194192    # Close database connection explicitly, in case this output is being piped
    195193    # directly into a database client, to avoid locking issues.
    196194    if cursor:
Back to Top