Code

Ticket #8713: core-management-sql.diff

File core-management-sql.diff, 523 bytes (added by Piotr Lewandowski <django@…>, 6 years ago)
Line 
1Index: django/core/management/sql.py
2===================================================================
3--- django/core/management/sql.py       (revision 8759)
4+++ django/core/management/sql.py       (working copy)
5@@ -62,7 +62,6 @@
6     "Returns a list of the DROP TABLE SQL statements for the given app."
7     from django.db import connection, models
8     from django.db.backends.util import truncate_name
9-    from django.contrib.contenttypes import generic
10 
11     # This should work even if a connection isn't available
12     try: