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

One issue we came across with auditlog is that we're registering all fields including reverse-related fields. Which means that: 1. we'll be hitting the db multiple times since these fields...

@hramezani, @aqeelat, I reviewed the `LogEntry` model to check where we can speed up the auditlog and I've got a few suggestions: 1. Drop `object_id` field. Rationale: `object_pk` is a...

enhancement
Breaking Change

Hello. I see that all in AuditLog is ready for Internationalization but there is no translations. There is a reason for that or is just that the team has no...

`django-auditlog` stores remote IP address to `remote_addr` field of `LogEntry`. However, IP address can be considered personal data, at least [according to GDPR](https://gdpr-info.eu/issues/personal-data/). An application that I'm developing uses `django-auditlog`...

enhancement

I have an app with the following structure: ``` class Show(models.Model): name = models.CharField(max_length=255) class ShowPerformer(models.Model): show = models.ForeignKey(Show, related_name="performers") name = models.CharField(max_length=255) class ShowGuest(models.Model): show = models.ForeignKey(Show, related_name="guests") name...

Related issue https://github.com/jazzband/django-auditlog/issues/453 Example use case https://github.com/jazzband/django-auditlog/blob/2b0bc9efa2db94af2c5e130cce4e662cf3b2ad0e/auditlog_tests/models.py#L168-L178

documentation
good first issue

When using `MyModel.many2many_field.clear()`, changes json looks like ``` {'many2many_field': {'type': 'm2m', 'operation': 'delete', 'objects': ['object1', 'object2', ... , 'object999999']}} ``` This can make changes field extremely big. Maybe instead ```...

enhancement

I have the following setting: ``` {"model": "opportunities.meeting", "serialize_data": True, "m2m_fields": ["consultants", "contacts"]}, ``` When a field changes for a Meeting, "serialized_data" is provided. however, when one of t he...

enhancement

Whenever I try to run my test suite I run into the following problem: django.db.migrations.exceptions.NodeNotFoundError: Migration auditlog.0001_initial dependencies reference nonexistent parent node ('contenttypes', '0001_initial') To fix the problem I changed...

good first issue

Oftentimes, when a change is made, it is made across multiple models/instances. For example: when an order is paid: 1. update the order model 2. create a transaction in the...

enhancement