Re: Creating a log for any changes in any model data i.e creation, updation and deletion??

2019-06-24 Thread Jani Tiainen
Hi. Note that there are still ways to modify data withouth signals getting fired. Nor save or delete is called. ma 24. kesäk. 2019 klo 18.54 Abhishek Tiwari kirjoitti: > That is the approach i have in mind.. Thank you.. > > On Monday, 24 June 2019 20:08:06 UTC+5:30, Brandon Rosenbloom wrote:

Re: Creating a log for any changes in any model data i.e creation, updation and deletion??

2019-06-24 Thread Abhishek Tiwari
That is the approach i have in mind.. Thank you.. On Monday, 24 June 2019 20:08:06 UTC+5:30, Brandon Rosenbloom wrote: > > Try using Django signals > https://docs.djangoproject.com/en/2.2/topics/signals/ -- You received this message because you are subscribed to the Google Groups "Django

Creating a log for any changes in any model data i.e creation, updation and deletion??

2019-06-24 Thread Brandon Rosenbloom
I did this using Django signals. Here’s the documentation: https://docs.djangoproject.com/en/2.2/topics/signals/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Creating a log for any changes in any model data i.e creation, updation and deletion??

2019-06-24 Thread Brandon Rosenbloom
Try using Django signals https://docs.djangoproject.com/en/2.2/topics/signals/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Creating a log for any changes in any model data i.e creation, updation and deletion??

2019-06-23 Thread Abhishek Tiwari
Hey everybody.. So i have been given a task to create a Activity Log page which shows the changes that have happened to any model data i.e either it is created or updated or deleted. My solution is to create a Activity model and store the changes following way- 1- override the save method