Commit 8a0c91fa authored by Matheus Miranda's avatar Matheus Miranda
Browse files

Remove typo on signal

parent 7dfe1684
......@@ -16,7 +16,7 @@ def lesson_created_or_updated(sender, instance: Lesson, **kwargs):
if (not or instance.release_date != previous_lesson.release_date) and instance.release_date:
previous_task_hask = ''
ct = ContentType.objects.get_for_model(comment)
ct = ContentType.objects.get_for_model(instance)
st = ScheduledTask.objects.filter(Content_type=ct,
if st.exists():
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