Move contact list to DB, part 1
This commit is contained in:
parent
e609f7a8d7
commit
5869a3f931
|
@ -9,4 +9,12 @@ class Page(models.Model):
|
|||
last_edited=models.DateField(auto_now=True)
|
||||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
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