ソースを参照

normalize multiline imports

David Ray 8 年 前
コミット
a26918f98d
2 ファイル変更2 行追加9 行削除
  1. 1 6
      bakerydemo/base/blocks.py
  2. 1 3
      bakerydemo/blog/models.py

+ 1 - 6
bakerydemo/base/blocks.py

@@ -1,12 +1,7 @@
 from wagtail.wagtailimages.blocks import ImageChooserBlock
 from wagtail.wagtailembeds.blocks import EmbedBlock
 from wagtail.wagtailcore.blocks import (
-    CharBlock,
-    ChoiceBlock,
-    RichTextBlock,
-    StreamBlock,
-    StructBlock,
-    TextBlock,
+    CharBlock, ChoiceBlock, RichTextBlock, StreamBlock, StructBlock, TextBlock,
 )
 
 

+ 1 - 3
bakerydemo/blog/models.py

@@ -11,9 +11,7 @@ from taggit.models import Tag, TaggedItemBase
 
 from wagtail.contrib.wagtailroutablepage.models import RoutablePageMixin, route
 from wagtail.wagtailadmin.edit_handlers import (
-    FieldPanel,
-    InlinePanel,
-    StreamFieldPanel,
+    FieldPanel, InlinePanel, StreamFieldPanel,
 )
 from wagtail.wagtailcore.fields import StreamField
 from wagtail.wagtailcore.models import Page, Orderable