Saner representation. Updates don't need it, I'll probably remove them from admin interface later.
This commit is contained in:
parent
d7dcd02ede
commit
eb434e6af0
|
@ -25,6 +25,9 @@ class Contact(models.Model):
|
||||||
a.date=date.today()
|
a.date=date.today()
|
||||||
a.save()
|
a.save()
|
||||||
super().save(*args,**kwargs)
|
super().save(*args,**kwargs)
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return self.proto+': '+self.name
|
||||||
|
|
||||||
class Updates(models.Model):
|
class Updates(models.Model):
|
||||||
page=models.CharField(max_length=100)
|
page=models.CharField(max_length=100)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user