On Thu, Dec 14, 2023 at 5:49 PM Mike Dewhirst <[email protected]> wrote:
> Top posting because of phone email client. > > Have you seen the Admin history? Might be already logged for you. > Is that programically accessible? I want to record it in the database. > -------- Original message -------- > From: Larry Martell <[email protected]> > Date: 15/12/23 06:44 (GMT+10:00) > To: [email protected] > Subject: logging admin accesses > > Is there a way to capture all admin changes (add, change, delete). I have > some middleware that gets called on any admin add, change, or delete, but I > have not figured out a way to capture specifically what was done, something > like: model, PK, action, e.g. > > user, 12, change, first name changed > user, 15, add > user, 24, delete > > I am looking for something generic that will work for all models under > admin control. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY6%3D8Ryo31JcCubHvMFn%2BU0JjDHNbcfvqp7QA2i6xYqGLw%40mail.gmail.com.

