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 and delete method and then save in Activity 
model or

2- use signals and then save it the Activity model.

the Activity model right now contains only these fields-

performed_on,

performed_by,

type_of_operation- Creation, Updation, Deletion

Is there any other better way to achieve this??

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5ce13548-5dc3-4d4d-8c0e-6d8e9f1499fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to