Skip to content

Commit

Permalink
fix: format migration 0003 with black
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiller committed Aug 15, 2024
1 parent 795bc3b commit 29861c2
Showing 1 changed file with 31 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,46 @@
class Migration(migrations.Migration):

dependencies = [
('instruments', '0002_instrument_thumbnail'),
("instruments", "0002_instrument_thumbnail"),
]

operations = [
migrations.AlterField(
model_name='avresource',
name='instrument',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='instruments.instrument'),
model_name="avresource",
name="instrument",
field=models.ForeignKey(
null=True,
on_delete=django.db.models.deletion.SET_NULL,
to="instruments.instrument",
),
),
migrations.AlterField(
model_name='instrument',
name='default_image',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='default_image_of', to='instruments.avresource'),
model_name="instrument",
name="default_image",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="default_image_of",
to="instruments.avresource",
),
),
migrations.AlterField(
model_name='instrument',
name='thumbnail',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='thumbnail_of', to='instruments.avresource'),
model_name="instrument",
name="thumbnail",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="thumbnail_of",
to="instruments.avresource",
),
),
migrations.AlterField(
model_name='instrumentname',
name='instrument',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='instruments.instrument'),
model_name="instrumentname",
name="instrument",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE, to="instruments.instrument"
),
),
]

0 comments on commit 29861c2

Please sign in to comment.