1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Adding IP Address to the instance.

Needed for redirecting.
This commit is contained in:
Luke Sneeringer 2014-10-01 10:55:14 -05:00
parent 66dc2df8c3
commit 60dae748dc

View File

@ -12,6 +12,7 @@ class Instance(models.Model):
objects = InstanceManager()
uuid = models.CharField(max_length=40, unique=True)
ip_address = models.GenericIPAddressField(protocol='both', unpack_ipv4=True)
primary = models.BooleanField(default=False)
created = models.DateTimeField(auto_now_add=True)
modified = models.DateTimeField(auto_now=True)