diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-10-13 18:33:03 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-10-13 18:33:03 +0000 |
| commit | fd292d340eb545a086205aec4d5067c0ba7769ac (patch) | |
| tree | 9d1d107a1a97a5e9c75339855776166293277c0e | |
| parent | 1a07957f7e64f34d009e09b61871d55c06cdd2cf (diff) | |
Removed an unused import and a duplicate import.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/management/base.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/core/management/base.py b/django/core/management/base.py index 5d7608382a..7a06b86936 100644 --- a/django/core/management/base.py +++ b/django/core/management/base.py @@ -161,10 +161,8 @@ class NoArgsCommand(BaseCommand): args = '' def handle(self, *args, **options): - from django.db import models if len(args) != 0: raise CommandError("Command doesn't accept any arguments") - return self.handle_noargs(**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 of the project. """ - import django import re import shutil other = {'project': 'app', 'app': 'project'}[app_or_project] |
