Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ab7745151 | |||
| 8b062a6c1d | |||
| cd48e7a402 |
@ -140,7 +140,7 @@ class Migration(migrations.Migration):
|
|||||||
null=True,
|
null=True,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
("bgstats_id", models.IntegerField(blank=True, null=True)),
|
("bgstats_id", models.UUIDField(blank=True, null=True)),
|
||||||
("description", models.TextField(blank=True, null=True)),
|
("description", models.TextField(blank=True, null=True)),
|
||||||
(
|
(
|
||||||
"geo_location",
|
"geo_location",
|
||||||
|
|||||||
@ -1,18 +0,0 @@
|
|||||||
# Generated by Django 4.2.19 on 2025-07-03 02:25
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
("boardgames", "0009_alter_boardgame_cooperative_and_more"),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AlterField(
|
|
||||||
model_name="boardgamelocation",
|
|
||||||
name="bgstats_id",
|
|
||||||
field=models.UUIDField(blank=True, null=True),
|
|
||||||
),
|
|
||||||
]
|
|
||||||
@ -6,7 +6,7 @@ from django.db import migrations, models
|
|||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
("boardgames", "0010_alter_boardgamelocation_bgstats_id"),
|
("boardgames", "0009_alter_boardgame_cooperative_and_more"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
20
vrobbler/apps/music/migrations/0028_alter_track_albums.py
Normal file
20
vrobbler/apps/music/migrations/0028_alter_track_albums.py
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Generated by Django 4.2.19 on 2025-07-25 14:41
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("music", "0027_track_albums"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="track",
|
||||||
|
name="albums",
|
||||||
|
field=models.ManyToManyField(
|
||||||
|
related_name="tracks", to="music.album"
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
@ -229,7 +229,7 @@ class Artist(TimeStampedModel):
|
|||||||
alt_name = found_name
|
alt_name = found_name
|
||||||
|
|
||||||
artist = cls.objects.filter(
|
artist = cls.objects.filter(
|
||||||
name=name, musicbrainz_id=musicbrainz_id
|
name=found_name, musicbrainz_id=musicbrainz_id
|
||||||
).first()
|
).first()
|
||||||
if not artist:
|
if not artist:
|
||||||
artist = cls.objects.create(
|
artist = cls.objects.create(
|
||||||
|
|||||||
Reference in New Issue
Block a user