mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-05-04 13:44:43 +00:00
Add null=True to LogEntry.cid field
It's already set nullable in the migration.
This commit is contained in:
parent
03920f2874
commit
682e8e270b
1 changed files with 5 additions and 1 deletions
|
|
@ -360,7 +360,11 @@ class LogEntry(models.Model):
|
|||
verbose_name=_("actor"),
|
||||
)
|
||||
cid = models.CharField(
|
||||
max_length=255, db_index=True, blank=True, verbose_name=_("Correlation ID")
|
||||
max_length=255,
|
||||
db_index=True,
|
||||
null=True,
|
||||
blank=True,
|
||||
verbose_name=_("Correlation ID"),
|
||||
)
|
||||
remote_addr = models.GenericIPAddressField(
|
||||
blank=True, null=True, verbose_name=_("remote address")
|
||||
|
|
|
|||
Loading…
Reference in a new issue