#137: Sound et EpisodeSound, dashboard UI improvements (into #121) #138

Merged
thomas merged 10 commits from dev-1.0-137 into dev-1.0-121 2024-04-05 16:45:16 +00:00
Showing only changes of commit 2d3c9edd98 - Show all commits

View File

@ -9,8 +9,6 @@ sounds_info = {}
def get_sounds_info(apps, schema_editor):
global sounds
Sound = apps.get_model("aircox", "Sound")
objs = Sound.objects.filter(episode__isnull=False).values(
"pk",
@ -22,8 +20,6 @@ def get_sounds_info(apps, schema_editor):
def restore_sounds_info(apps, schema_editor):
global sounds
try:
Sound = apps.get_model("aircox", "Sound")
EpisodeSound = apps.get_model("aircox", "EpisodeSound")