Move contact list to DB, part 1

This commit is contained in:
Zergling_man 2021-12-06 16:01:01 +11:00
parent e609f7a8d7
commit 5869a3f931

View File

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