-
Notifications
You must be signed in to change notification settings - Fork 430
Open
Labels
Description
Is there any option to have UUID's as primary key for the logentry table, I tried overriding but got django.core.exceptions.FieldError: Local field 'id' in class 'LogEntry' clashes with field of the same name from base class 'LogEntry'.
when I tried to do something like below
from auditlog.models import LogEntry as AuditlogLogEntry
class LogEntryManager(AuditlogLogEntry):
id = models.UUIDField(
primary_key=True,
unique=True,
default=uuid.uuid4,
editable=False,
)
2ykwang