Fixed type length.

This commit is contained in:
Antoine Nguyen
2018-11-20 08:57:20 +01:00
parent 277602e3f0
commit f4976bb0c8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class DNSRecord(models.Model):
domain = models.ForeignKey("admin.Domain", on_delete=models.CASCADE)
type = models.CharField(
max_length=10, choices=constants.DNS_RECORD_TYPES)
max_length=15, choices=constants.DNS_RECORD_TYPES)
value = models.TextField(blank=True)
is_valid = models.BooleanField(default=False)
error = models.CharField(max_length=50, null=True, blank=True)