Fixed import error in the admin due to isort

fix_request_path_info
Diederik van der Boor 2019-07-15 10:19:10 +02:00
parent 5c33a03c7c
commit 407679895f
No known key found for this signature in database
GPG Key ID: 4FA014E0305E73C1
1 changed files with 2 additions and 3 deletions

View File

@ -4,6 +4,8 @@ ModelAdmin code to display polymorphic models.
The admin consists of a parent admin (which shows in the admin with a list),
and a child admin (which is used internally to show the edit/delete dialog).
"""
# Admins for the regular models
from .parentadmin import PolymorphicParentModelAdmin # noqa
from .childadmin import PolymorphicChildModelAdmin
from .filters import PolymorphicChildModelFilter
@ -23,9 +25,6 @@ from .helpers import PolymorphicInlineAdminForm, PolymorphicInlineAdminFormSet
from .inlines import PolymorphicInlineModelAdmin # base class
from .inlines import StackedPolymorphicInline # stacked inline
# Admins for the regular models
from .parentadmin import PolymorphicParentModelAdmin
__all__ = (
"PolymorphicParentModelAdmin",
"PolymorphicChildModelAdmin",