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:
Hasan Ramezani 2023-02-03 17:03:20 +03:30 committed by GitHub
parent 565a9bbef5
commit 3a90087d32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")