summaryrefslogtreecommitdiff
path: root/django/core/management/base.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-02-09 13:19:34 -0500
committerTim Graham <timograham@gmail.com>2015-02-09 14:24:06 -0500
commita8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch)
tree94ef5bc53e59131906aecfcf792eeac86242aa62 /django/core/management/base.py
parenteb406aa686ff1809903366ef6896037af2f1f69b (diff)
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'django/core/management/base.py')
-rw-r--r--django/core/management/base.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/django/core/management/base.py b/django/core/management/base.py
index b907015d08..0a4a1ee2f3 100644
--- a/django/core/management/base.py
+++ b/django/core/management/base.py
@@ -1,16 +1,14 @@
# -*- coding: utf-8 -*-
-
-from __future__ import unicode_literals
-
"""
Base classes for writing management commands (named commands which can
be executed through ``django-admin`` or ``manage.py``).
"""
+from __future__ import unicode_literals
+
import os
import sys
import warnings
-
from argparse import ArgumentParser
from optparse import OptionParser
@@ -19,7 +17,9 @@ from django.core import checks
from django.core.exceptions import ImproperlyConfigured
from django.core.management.color import color_style, no_style
from django.db import connections
-from django.utils.deprecation import RemovedInDjango19Warning, RemovedInDjango20Warning
+from django.utils.deprecation import (
+ RemovedInDjango19Warning, RemovedInDjango20Warning,
+)
from django.utils.encoding import force_str