add a description field

This commit is contained in:
Andreas Zweili 2019-09-01 12:10:51 +02:00
parent 28dcd6834f
commit 69d9a24ff7
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ class Net(models.Model):
ip_range = models.CharField(max_length=50, verbose_name='IP Range')
dhcp_range = models.CharField(max_length=50, verbose_name='DHCP Range')
customer = models.ForeignKey(Customer, on_delete=models.CASCADE)
description = models.TextField(blank=True, null=True)
def __str__(self):
return self.name