Re: Best approach for audit logging in Django.

2022-06-03 Thread Lalit Suthar
Hi Sencer, signals will be helpful only if you are auditing on certain models but if you are trying to audit a set of views then middleware will be a better choice since that will be more manageable On Fri, 3 Jun 2022 at 18:29, Jason wrote: > one good source when you have a question "is there an

Re: Best approach for audit logging in Django.

2022-06-03 Thread Jason
one good source when you have a question "is there anything in django that does X?" is to go to djangopackages.org. https://djangopackages.org/grids/g/model-audit/, for example, is a list of packages for model auditing and history On Friday, June 3, 2022 at 6:33:37 AM UTC-4 sencer...@gmail.com

Best approach for audit logging in Django.

2022-06-03 Thread Sencer Hamarat
Hi, I've been planning to add audit logging to the project. But, I can not decide which approach is the best; Using signals or creating middleware? Project needs to being log events on change of model object with these informations below: - If a record is inserted, updated and deleted: - who

django.db.utils.IntegrityError: NOT NULL constraint failed: app_users.key_value_id

2022-06-03 Thread Mukul Verma
StackOverflow URL Please Give Response https://stackoverflow.com/questions/72485685/django-db-utils-integrityerror-not-null-constraint-failed-app-users-key-value -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: beginner

2022-06-03 Thread Mukul Verma
Check Out Django Docs No Worries it will take time but that's so simple On Thursday, 2 June 2022 at 23:01:29 UTC+5:30 bod...@gmail.com wrote: > Greetings > > please i am a beginner on django, i need material like video and soft copy > reading materials > > thanks > -- You received this mess