django-auditlog icon indicating copy to clipboard operation
django-auditlog copied to clipboard

A Django app that keeps a log of changes made to an object.

Results 136 django-auditlog issues
Sort by recently updated
recently updated
newest added

In the tests for m2m relationships, it only checks the same side for both tests (always checking `related` history, even though the original obj model is the one being tracked),...

On installed version Django 4.1 and django-auditlog 2.1.1 we are witnessing: > /usr/local/lib/python3.9/site-packages/auditlog/diff.py:67: RemovedInDjango50Warning: The django.utils.timezone.utc alias is deprecated. Please update your code to use datetime.timezone.utc instead. > value =...

enhancement

Hi, First of all, thank you for this excellent app. I love how simple yet powerful this is. My favorite part is being able to configure everything in `settings.py` so...

enhancement

## Summary We've encountered two errors caused by the way auditlog detects updates to related objects on a `ForeignKey`. In one case, auditlog is detecting a change where no change...

Add the ability to use select_related to pull related fields when getting the old instance to compare against. This should eliminate some unnecessary queries and boost performance, particularly when dealing...

AUDITLOG_DISABLE_ON_RAW_SAVE = True AUDITLOG_INCLUDE_TRACKING_MODELS = ( 'dept_admin.SIR', 'dept_admin.SystemConfiguration', 'dept_admin.PartialComment', 'dept_admin.SIRFactors', 'dept_admin.ScoringLevels', 'dept_admin.FeatureFlag', 'dept_admin.AdminEmailRecipients', 'dept_admin.DeactivateEvaluationReason', { 'model': 'auth.User', 'exclude_fields': ['last_login'], }, 'evaluation_scheduler.ScheduleVariable', 'evaluation_scheduler.ScheduledEvaluation', 'evaluation_scheduler.Reminder', 'evaluations.EvaluationSubmission', 'evaluations.EvaluationHierarchy', 'evaluations.EmployeeSignature', 'fist_bumps.FistBump', 'fist_bumps.SaluteFactors', 'notification.SendGridTemplate', 'notification.TemplateDynamicData',...

### add actor_email deleting a user from the Users table will make actor_id useless (its only a bunch of characters). by adding email as static content, it can be usable...

Currently it's a pain to try to get changes Django's lazy translation object easily logged. Could implement some functionality to automatically detect __proxy__ object in models and transform them into...

enhancement