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

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