mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 01:21:07 +00:00
Python formatting
This commit is contained in:
parent
a2c4dd4f9f
commit
c04d2d285b
2 changed files with 32 additions and 22 deletions
|
@ -7,42 +7,52 @@ from django.db import migrations
|
|||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bookwyrm', '0134_announcement_display_type'),
|
||||
("bookwyrm", "0134_announcement_display_type"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='author',
|
||||
old_name='viaf_id',
|
||||
new_name='viaf',
|
||||
model_name="author",
|
||||
old_name="viaf_id",
|
||||
new_name="viaf",
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='edition',
|
||||
name='asin',
|
||||
model_name="edition",
|
||||
name="asin",
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='author',
|
||||
name='asin',
|
||||
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
|
||||
model_name="author",
|
||||
name="asin",
|
||||
field=bookwyrm.models.fields.CharField(
|
||||
blank=True, max_length=255, null=True
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='author',
|
||||
name='wikidata',
|
||||
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
|
||||
model_name="author",
|
||||
name="wikidata",
|
||||
field=bookwyrm.models.fields.CharField(
|
||||
blank=True, max_length=255, null=True
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='book',
|
||||
name='asin',
|
||||
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
|
||||
model_name="book",
|
||||
name="asin",
|
||||
field=bookwyrm.models.fields.CharField(
|
||||
blank=True, max_length=255, null=True
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='book',
|
||||
name='viaf',
|
||||
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
|
||||
model_name="book",
|
||||
name="viaf",
|
||||
field=bookwyrm.models.fields.CharField(
|
||||
blank=True, max_length=255, null=True
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='book',
|
||||
name='wikidata',
|
||||
field=bookwyrm.models.fields.CharField(blank=True, max_length=255, null=True),
|
||||
model_name="book",
|
||||
name="wikidata",
|
||||
field=bookwyrm.models.fields.CharField(
|
||||
blank=True, max_length=255, null=True
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
|
@ -1 +1 @@
|
|||
black==21.4b2
|
||||
black==22.1.0
|
||||
|
|
Loading…
Reference in a new issue