On Jul 1, 12:10 pm, mettwoch <mettw...@pt.lu> wrote:
> Hi group,
>
> What would be a good way to log changes made to models from outside
> the admin interface?

Look at the log_* methods in the Admin implementation:
http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/options.py#L377

You could replicate what those methods do using your own utility
functions. Then call your functions from the appropriate view or
forms.

-RD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to