1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

Fixed #21302 -- Fixed unused imports and import *.

This commit is contained in:
Tim Graham
2013-10-18 07:25:30 -04:00
parent 9f76ea1eaa
commit 36ded01527
116 changed files with 248 additions and 181 deletions

View File

@@ -265,7 +265,7 @@ class BaseCommand(object):
self.stderr = OutputWrapper(options.get('stderr', sys.stderr), self.style.ERROR)
if self.can_import_settings:
from django.conf import settings
from django.conf import settings # NOQA
saved_locale = None
if not self.leave_locale_alone: