Saner representation. Updates don't need it, I'll probably remove them from admin interface later.

This commit is contained in:
Zergling_man 2021-12-12 20:01:10 +11:00
parent d7dcd02ede
commit eb434e6af0

View File

@ -25,6 +25,9 @@ class Contact(models.Model):
a.date=date.today()
a.save()
super().save(*args,**kwargs)
def __str__(self):
return self.proto+': '+self.name
class Updates(models.Model):
page=models.CharField(max_length=100)