diff --git a/wagtail/tests/modeladmintest/forms.py b/wagtail/tests/modeladmintest/forms.py index e1a1310d82..9cb047061b 100644 --- a/wagtail/tests/modeladmintest/forms.py +++ b/wagtail/tests/modeladmintest/forms.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import, unicode_literals + from django import forms from .models import Publisher diff --git a/wagtail/tests/modeladmintest/wagtail_hooks.py b/wagtail/tests/modeladmintest/wagtail_hooks.py index a57f648cd9..769b4792f1 100644 --- a/wagtail/tests/modeladmintest/wagtail_hooks.py +++ b/wagtail/tests/modeladmintest/wagtail_hooks.py @@ -4,8 +4,8 @@ from wagtail.contrib.modeladmin.options import ModelAdmin, ModelAdminGroup, mode from wagtail.contrib.modeladmin.views import CreateView from wagtail.tests.testapp.models import BusinessChild, EventPage, SingleEventPage -from .models import Author, Book, Token, Publisher from .forms import PublisherModelAdminForm +from .models import Author, Book, Publisher, Token class AuthorModelAdmin(ModelAdmin):