kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Job signal to update batch status
rodzic
8900f5581b
commit
b492e133c6
|
@ -461,3 +461,8 @@ class ImportJob(models.Model):
|
|||
|
||||
class Meta:
|
||||
ordering = ('id', )
|
||||
|
||||
|
||||
@receiver(post_save, sender=ImportJob)
|
||||
def update_batch_status(sender, instance, **kwargs):
|
||||
instance.batch.update_status()
|
||||
|
|
Ładowanie…
Reference in New Issue