Skip to content

Commit 52bd8f8

Browse files
committed
Apply black formatting to migration
1 parent ac30586 commit 52bd8f8

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

tests/testapp/migrations/0003_pagewithpolyfillcolorfield.py

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,30 @@
88
class Migration(migrations.Migration):
99

1010
dependencies = [
11-
('testapp', '0002_alter_pagewithstreamfield_body'),
12-
('wagtailcore', '0094_alter_page_locale'),
11+
("testapp", "0002_alter_pagewithstreamfield_body"),
12+
("wagtailcore", "0094_alter_page_locale"),
1313
]
1414

1515
operations = [
1616
migrations.CreateModel(
17-
name='PageWithPolyfillColorField',
17+
name="PageWithPolyfillColorField",
1818
fields=[
19-
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')),
20-
('color', wagtail_color_panel.fields.ColorField(max_length=7)),
19+
(
20+
"page_ptr",
21+
models.OneToOneField(
22+
auto_created=True,
23+
on_delete=django.db.models.deletion.CASCADE,
24+
parent_link=True,
25+
primary_key=True,
26+
serialize=False,
27+
to="wagtailcore.page",
28+
),
29+
),
30+
("color", wagtail_color_panel.fields.ColorField(max_length=7)),
2131
],
2232
options={
23-
'abstract': False,
33+
"abstract": False,
2434
},
25-
bases=('wagtailcore.page',),
35+
bases=("wagtailcore.page",),
2636
),
2737
]

0 commit comments

Comments
 (0)