Add IP address to migrations
This commit is contained in:
parent
079e423343
commit
2f51057f4c
2 changed files with 37 additions and 37 deletions
|
|
@ -21,6 +21,12 @@ class Changelog(models.Model):
|
|||
verbose_name=_('user'),
|
||||
)
|
||||
|
||||
ip = models.GenericIPAddressField(
|
||||
null=True,
|
||||
blank=True,
|
||||
verbose_name=_("IP Address")
|
||||
)
|
||||
|
||||
model = models.ForeignKey(
|
||||
ContentType,
|
||||
on_delete=models.PROTECT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue