Right, they should be optional

This commit is contained in:
Zergling_man 2021-12-12 19:52:47 +11:00
parent 24c616b885
commit 1567881e5f

View File

@ -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()