1
0
mirror of https://github.com/django/django.git synced 2025-07-05 10:19:20 +00:00

[1.2.X] Fixed #14356. Remove some dead imports from django.core.management.sql. Thanks to xiaket for the report and patch. Backport of [14088].

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2010-10-09 17:15:35 +00:00
parent b3e02d19ec
commit 50ce457330

View File

@ -2,12 +2,9 @@ import os
import re import re
from django.conf import settings from django.conf import settings
from django.contrib.contenttypes import generic
from django.core.management.base import CommandError from django.core.management.base import CommandError
from django.dispatch import dispatcher
from django.db import models from django.db import models
from django.db.models import get_models from django.db.models import get_models
from django.db.backends.util import truncate_name
def sql_create(app, style, connection): def sql_create(app, style, connection):
"Returns a list of the CREATE TABLE SQL statements for the given app." "Returns a list of the CREATE TABLE SQL statements for the given app."