Commit a6d427f9 authored by Ilya Simonov's avatar Ilya Simonov

fix

parent 74344307
...@@ -5,10 +5,10 @@ from django.db.models.signals import post_save ...@@ -5,10 +5,10 @@ from django.db.models.signals import post_save
from . import models, tasks from . import models, tasks
# @receiver(post_save, sender=models.Video) @receiver(post_save, sender=models.Video)
# def post_save_video(sender, instance, created, **kwargs): def post_save_video(sender, instance, created, **kwargs):
# if instance.status == models.PROGRESS and instance.local_file: if instance.status == models.PROGRESS and instance.local_file:
# tasks.send_video_to_s3.apply_async((instance.id,)) tasks.send_video_to_s3.apply_async((instance.id,))
@receiver(post_save, sender=models.Playlist) @receiver(post_save, sender=models.Playlist)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment