Ticket #7845: reset-modelless-app.diff

File reset-modelless-app.diff, 1.0 KB (added by miracle2k, 16 years ago)
  • django/core/management/sql.py

    diff --git a/django/core/management/sql.py b/django/core/management/sql.py
    index 000886a..b5b398d 100644
    a b def sql_delete(app, style):  
    190190                if ds:
    191191                    output.append(ds)
    192192
    193     app_label = app_models[0]._meta.app_label
    194 
    195193    # Close database connection explicitly, in case this output is being piped
    196194    # directly into a database client, to avoid locking issues.
    197195    if cursor:
Back to Top