From 1567881e5f3123178555d26ef821e2d4d730928a Mon Sep 17 00:00:00 2001 From: Zergling_man Date: Sun, 12 Dec 2021 19:52:47 +1100 Subject: [PATCH] Right, they should be optional --- main/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/models.py b/main/models.py index 65aa704..b1b1e09 100644 --- a/main/models.py +++ b/main/models.py @@ -14,9 +14,9 @@ class Page(models.Model): class Contact(models.Model): name=models.CharField(max_length=100) - url=models.CharField(max_length=500) + url=models.CharField(max_length=500,null=True) proto=models.CharField(max_length=100) - comment=models.CharField(max_length=100) + comment=models.CharField(max_length=100,blank=True) group=models.IntegerField(choices=list({0:'Preferred',1:'Suitable',2:'Discouraged',3:'Ignored',4:'Discontinued',5:'NSFW'}.items())) priority=models.IntegerField()