Move contact list to DB, part 1
This commit is contained in:
parent
e609f7a8d7
commit
5869a3f931
|
@ -10,3 +10,11 @@ class Page(models.Model):
|
|||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
|
||||
class Contact(models.Model):
|
||||
name=models.CharField(max_length=100)
|
||||
url=models.CharField(max_length=500)
|
||||
proto=models.CharField(max_length=100)
|
||||
comment=models.CharField(max_length=100)
|
||||
group=models.CharField(max_length=100)
|
||||
priority=models.IntegerField()
|
Loading…
Reference in New Issue
Block a user