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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user