0

I have MySQL event running on every month and deletes the old records. While deleting the records I want to send the push notifications to the user.

Is there any way we can define it in Django to receive the deleted records ids from Mysql to send push notification to the associated users?

Karesh A
  • 1,731
  • 3
  • 22
  • 47
  • If you are using MySQL trigger you can run python code with it. So basically you need to write python script that executes in your django project environment. – Sardorbek Imomaliev Oct 26 '16 at 04:55
  • alternatively, if that's an option, you can instead use celery-beat for scheduled events. And you can interact with all your django things from a celery task – CrowbarKZ Oct 26 '16 at 06:49

0 Answers0