Hi Friends, I want to call a python function, while saving each model... How can I do this?
For example.... I have many application in a project.... I have field in each model of the application and I have to access the field just before the any model object is saved and alter a value of that field. Here I can use save_model() function, but I want to write a function once and each time when the model is saved that function should be called.... Any Idea for this... Regards Harish Bhat M --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---