Removed an unused import and a duplicate import.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gary Wilson Jr 2007-10-13 18:33:03 +00:00
parent 1a07957f7e
commit fd292d340e
1 changed files with 0 additions and 3 deletions

View File

@ -161,10 +161,8 @@ class NoArgsCommand(BaseCommand):
args = '' args = ''
def handle(self, *args, **options): def handle(self, *args, **options):
from django.db import models
if len(args) != 0: if len(args) != 0:
raise CommandError("Command doesn't accept any arguments") raise CommandError("Command doesn't accept any arguments")
return self.handle_noargs(**options) return self.handle_noargs(**options)
def handle_noargs(self, **options): def handle_noargs(self, **options):
@ -182,7 +180,6 @@ def copy_helper(style, app_or_project, name, directory, other_name=''):
* other_name - When copying an application layout, this should be the name * other_name - When copying an application layout, this should be the name
of the project. of the project.
""" """
import django
import re import re
import shutil import shutil
other = {'project': 'app', 'app': 'project'}[app_or_project] other = {'project': 'app', 'app': 'project'}[app_or_project]