Commit 03a63c58 authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Comment django signal for publishing messages

parent 77d9a781
......@@ -76,6 +76,6 @@ def post_unit_created_or_updated(sender, instance: Lesson, **kwargs):
create_first_task(instance)
@receiver(post_save, sender=ProfessorMessage)
def post_professor_message_created(sender, instance: ProfessorMessage, **kwargs):
publish_message.apply_async(args=[instance.id], eta=instance.release_date)
#@receiver(post_save, sender=ProfessorMessage)
#def post_professor_message_created(sender, instance: ProfessorMessage, **kwargs):
# publish_message.apply_async(args=[instance.id], eta=instance.release_date)
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