lol
This commit is contained in:
parent
47f9249151
commit
aa4e26f69e
|
@ -17,7 +17,7 @@ class Contact(models.Model):
|
|||
url=models.CharField(max_length=500)
|
||||
proto=models.CharField(max_length=100)
|
||||
comment=models.CharField(max_length=100)
|
||||
group=models.IntegerField(choices={0:'Preferred',1:'Suitable',2:'Discouraged',3:'Ignored',4:'Discontinued',5:'NSFW'})
|
||||
group=models.IntegerField(choices=list({0:'Preferred',1:'Suitable',2:'Discouraged',3:'Ignored',4:'Discontinued',5:'NSFW'}.items()))
|
||||
priority=models.IntegerField()
|
||||
|
||||
def save(self,*args,**kwargs):
|
||||
|
|
Loading…
Reference in New Issue
Block a user