Right, they should be optional
This commit is contained in:
parent
24c616b885
commit
1567881e5f
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user