we´re working on a basecamp-like project management system which we´ll
include into the admin-interface.
therefore, we´re having custom views (based on Add- and
ChangeManipulator) and we´d like to log user-actions. maybe i should
just import log_add_message (e.g.) from admin.main. then again, i´m not
sure if that´s the (django)way to go.
if request.POST:
log_add_message(request.user, opts,manipulator,new_object)
patrick
Am 09.01.2006 um 16:55 schrieb Joseph Kocherhans:
On 1/8/06, patrickk <[EMAIL PROTECTED]> wrote:
when using AddManipulator or ChangeManipulator, is there a convenient
way of logging actions in admin_log?
hmm, something wrong with this question?
i´d really appreciate some help.
Could you be a little more specific? Currently, admin_log is only
called if you are using the admin app. It isn't called in generic
views. There's nothing stopping you from using it in a custom view
though. Add/Change manipulators don't and won't call admin log
directly since they shouldn't be coupled together.
Joseph