mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
- Added support for CustomLogEntry data model to extend django-auditlog capabilities - Updated existing test cases to align with new model structure and data handling logic - Added new test cases to validate CustomLogEntry behavior, model registration, and signal handling - Ensured backward compatibility with existing LogEntry model where applicable
7 lines
189 B
Python
7 lines
189 B
Python
from django.db import models
|
|
|
|
from auditlog.models import AbstractLogEntry
|
|
|
|
|
|
class CustomLogEntryModel(AbstractLogEntry):
|
|
role = models.CharField(max_length=100, null=True, blank=True)
|