Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed an unused import and a duplicate import.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fd292d340eb545a086205aec4d5067c0ba7769ac 1 parent 1a07957
@gdub gdub authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  django/core/management/base.py
View
3  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]

0 comments on commit fd292d3

Please sign in to comment.
Something went wrong with that request. Please try again.