diff options
author | Tim Graham <timograham@gmail.com> | 2015-01-28 07:35:27 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-02-06 08:16:28 -0500 |
commit | 0ed7d155635da9f79d4dd67e4889087d3673c6da (patch) | |
tree | cf5c59b563f01774f32e20b3af8cb24a387fdc4d /tests/modeladmin | |
parent | 388d986b8a6bb1363dab9f53ea435dff4dfe92cb (diff) | |
download | django-0ed7d155635da9f79d4dd67e4889087d3673c6da.tar.gz |
Sorted imports with isort; refs #23860.
Diffstat (limited to 'tests/modeladmin')
-rw-r--r-- | tests/modeladmin/tests.py | 12 |
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): |