The latest Django beta added this method to the admin models:

>> save_model(self, request, obj, form, change)

I have a business case where a "delete_model" method would come in
very handy.  Does anyone know if this will be included in an upcoming
release?

If not, here is my dilemma.  When an item is deleted from the admin
interface, I need to audit the activity using my custom audit
methods.  One of the attributes in the audit methods is the user ID of
the actor who executed the action.  In other words, when a delete
takes place, I'd like to audit who did it.  Unfortunately, I can't
seem to find a way to access the request object which will provide me
that information via the admin-related methods.

Any help is appreciated.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to