Re: logging admin accesses

2023-12-19 Thread Larry Martell
most certainly can have models and all > of mine always do. > > >> > > >> It is more explicit to do so but more importantly they generally > carry essential real-world information about the relationship itself. > > >> > > >> I haven't look

Re: logging admin accesses

2023-12-19 Thread Mike Dewhirst
I was saying Django's inspectdb will write them for you.M--(Unsigned mail from my phone) Original message From: Larry Martell Date: 20/12/23 00:51 (GMT+10:00) To: django-users@googlegroups.com Subject: Re: logging admin accesses On Mon, Dec 18, 2023 at 7:23 PM Mike Dew

Re: logging admin accesses

2023-12-19 Thread Larry Martell
explicitly. >> >> >> -- >> (Unsigned mail from my phone) >> >> >> >> Original message >> From: Larry Martell >> Date: 19/12/23 08:18 (GMT+10:00) >> To: django-users@googlegroups.com >> Subject: Re: loggi

Re: logging admin accesses

2023-12-18 Thread Mike Dewhirst
(Unsigned mail from my phone) Original message From: Larry Martell Date: 19/12/23 08:18 (GMT+10:00) To: django-users@googlegroups.com Subject: Re: logging admin accesses django-simple-history is close to what we need. The one issue I see (so far) is tha

Re: logging admin accesses

2023-12-18 Thread Mike Dewhirst
y own but it may well cover m2m tables if you add the models explicitly. --(Unsigned mail from my phone) Original message From: Larry Martell Date: 19/12/23 08:18 (GMT+10:00) To: django-users@googlegroups.com Subject: Re: logging admin accesses django-simple-history is close to

Re: logging admin accesses

2023-12-18 Thread Larry Martell
; >> >> >> Original message ---- >> From: Mike Dewhirst >> Date: 16/12/23 12:38 (GMT+10:00) >> To: django-users@googlegroups.com >> Subject: Re: logging admin accesses >> >> You seem to be asking for a full history 'system'.

Re: logging admin accesses

2023-12-18 Thread Larry Martell
:38 (GMT+10:00) > To: django-users@googlegroups.com > Subject: Re: logging admin accesses > > You seem to be asking for a full history 'system'. > > I think the Admin history exists to show a bit of history with a link to > go back to the change form where it happened. >

Re: logging admin accesses

2023-12-18 Thread Larry Martell
from my phone) > > > > Original message -------- > From: Larry Martell > Date: 16/12/23 01:47 (GMT+10:00) > To: django-users@googlegroups.com > Subject: Re: logging admin accesses > > On Thu, Dec 14, 2023 at 5:49 PM Mike Dewhirst > wrote: > >> To

Re: logging admin accesses

2023-12-15 Thread Mike Dewhirst
) Original message From: Mike Dewhirst Date: 16/12/23 12:38 (GMT+10:00) To: django-users@googlegroups.com Subject: Re: logging admin accesses You seem to be asking for a full history 'system'. I think the Admin history exists to show a bit of history with a link to go back to

Re: logging admin accesses

2023-12-15 Thread Mike Dewhirst
/12/23 01:47 (GMT+10:00) To: django-users@googlegroups.com Subject: Re: logging admin accesses On Thu, Dec 14, 2023 at 5:49 PM Mike Dewhirst wrote:Top posting because of phone email client.Have you seen the Admin history? Might be already logged for you.Thanks, this is useful, but it do

Re: logging admin accesses

2023-12-15 Thread Larry Martell
On Thu, Dec 14, 2023 at 5:49 PM Mike Dewhirst wrote: > Top posting because of phone email client. > > Have you seen the Admin history? Might be already logged for you. > Thanks, this is useful, but it does not seem to be logging everything. We have a custom user admin page that updates a few mod

Re: logging admin accesses

2023-12-15 Thread Vitaly Bogomolov
Is that programically accessible? I want to record it in the database. from django.contrib.admin.models import LogEntry logs = LogEntry.objects.all() #or you can filter, etc. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib

Re: logging admin accesses

2023-12-14 Thread Larry Martell
On Thu, Dec 14, 2023 at 5:49 PM Mike Dewhirst 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 Ma

RE: logging admin accesses

2023-12-14 Thread Mike Dewhirst
Top posting because of phone email client.Have you seen the Admin history? Might be already logged for you.Mike--(Unsigned mail from my phone) Original message From: Larry Martell Date: 15/12/23 06:44 (GMT+10:00) To: django-users@googlegroups.com Subject: logging admin access