Actions
Task #2232
closedCreate Django post_save signal for Task model
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
The 2.y Task system sends an amqp signal during the model's save() message.
This functionality needs to be moved to a Django post_save signal for pulp 3
The method signature/attribute for the signal handler:
@receiver(post_save, sender=Task)
my_handler(sender, instance, created)
Django documenation:
https://docs.djangoproject.com/en/1.8/topics/signals/#connecting-to-signals-sent-by-specific-senders
https://docs.djangoproject.com/en/1.8/ref/signals/#post-save
Actions