summaryrefslogtreecommitdiff
path: root/tests/modeladmin
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-28 07:35:27 -0500
committerTim Graham <timograham@gmail.com>2015-02-06 08:16:28 -0500
commit0ed7d155635da9f79d4dd67e4889087d3673c6da (patch)
treecf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/modeladmin
parent388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff)
downloaddjango-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/modeladmin')
-rw-r--r--tests/modeladmin/tests.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/modeladmin/tests.py b/tests/modeladmin/tests.py
index 6157d6c1d4..cc9c8f2de0 100644
--- a/tests/modeladmin/tests.py
+++ b/tests/modeladmin/tests.py
@@ -3,19 +3,21 @@ from __future__ import unicode_literals
from datetime import date
from django import forms
-from django.contrib.admin.options import (ModelAdmin, TabularInline,
- HORIZONTAL, VERTICAL)
+from django.contrib.admin import BooleanFieldListFilter, SimpleListFilter
+from django.contrib.admin.options import (
+ HORIZONTAL, VERTICAL, ModelAdmin, TabularInline,
+)
from django.contrib.admin.sites import AdminSite
from django.contrib.admin.widgets import AdminDateWidget, AdminRadioSelect
-from django.contrib.admin import (SimpleListFilter,
- BooleanFieldListFilter)
from django.core.checks import Error
from django.forms.models import BaseModelFormSet
from django.forms.widgets import Select
from django.test import TestCase
from django.utils import six
-from .models import Band, Concert, ValidationTestModel, ValidationTestInlineModel
+from .models import (
+ Band, Concert, ValidationTestInlineModel, ValidationTestModel,
+)
class MockRequest(object):