mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
Add null=True to ci field (#506)
* Add null=True to ci field * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
565a9bbef5
commit
3a90087d32
1 changed files with 5 additions and 1 deletions
|
|
@ -366,7 +366,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,
|
||||
blank=True,
|
||||
null=True,
|
||||
verbose_name=_("Correlation ID"),
|
||||
)
|
||||
remote_addr = models.GenericIPAddressField(
|
||||
blank=True, null=True, verbose_name=_("remote address")
|
||||
|
|
|
|||
Loading…
Reference in a new issue