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
|
@ -26,6 +26,9 @@ class Contact(models.Model):
|
||||||
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)
|
||||||
date=models.DateField()
|
date=models.DateField()
|
Loading…
Reference in New Issue
Block a user