mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
isort fixes
This commit is contained in:
parent
c8ab0d9b54
commit
0965daf738
@ -16,7 +16,8 @@ from taggit.models import TaggedItemBase
|
||||
|
||||
from wagtail.contrib.settings.models import BaseSetting, register_setting
|
||||
from wagtail.wagtailadmin.edit_handlers import (
|
||||
FieldPanel, InlinePanel, MultiFieldPanel, ObjectList, PageChooserPanel, TabbedInterface, StreamFieldPanel)
|
||||
FieldPanel, InlinePanel, MultiFieldPanel, ObjectList, PageChooserPanel, StreamFieldPanel,
|
||||
TabbedInterface)
|
||||
from wagtail.wagtailadmin.forms import WagtailAdminPageForm
|
||||
from wagtail.wagtailcore.blocks import CharBlock, RichTextBlock
|
||||
from wagtail.wagtailcore.fields import RichTextField, StreamField
|
||||
|
@ -2,10 +2,10 @@ from __future__ import absolute_import, unicode_literals
|
||||
|
||||
import json
|
||||
|
||||
from django.forms import widgets, Media
|
||||
from wagtail.wagtailadmin.edit_handlers import RichTextFieldPanel
|
||||
from django.forms import Media, widgets
|
||||
|
||||
from wagtail.utils.widgets import WidgetWithScript
|
||||
from wagtail.wagtailadmin.edit_handlers import RichTextFieldPanel
|
||||
|
||||
|
||||
class CustomRichTextArea(WidgetWithScript, widgets.Textarea):
|
||||
|
@ -5,11 +5,10 @@ from django.core.urlresolvers import reverse
|
||||
from django.test import TestCase
|
||||
from django.test.utils import override_settings
|
||||
|
||||
from wagtail.tests.utils import WagtailTestUtils
|
||||
from wagtail.wagtailcore.models import Page
|
||||
|
||||
from wagtail.tests.testapp.rich_text import CustomRichTextArea
|
||||
from wagtail.wagtailadmin.rich_text import get_rich_text_editor_widget, HalloRichTextArea
|
||||
from wagtail.tests.utils import WagtailTestUtils
|
||||
from wagtail.wagtailadmin.rich_text import HalloRichTextArea, get_rich_text_editor_widget
|
||||
from wagtail.wagtailcore.models import Page
|
||||
|
||||
|
||||
class TestGetRichTextEditorWidget(TestCase):
|
||||
|
Loading…
Reference in New Issue
Block a user