Stupid pluralisation

This commit is contained in:
Zergling_man 2021-12-12 21:23:42 +11:00
parent 025f8fdf41
commit e80bbc2329
2 changed files with 2 additions and 2 deletions

View File

@ -29,6 +29,6 @@ class Contact(models.Model):
def __str__(self): def __str__(self):
return self.proto+': '+self.name return self.proto+': '+self.name
class Updates(models.Model): class Update(models.Model):
page=models.CharField(max_length=100) page=models.CharField(max_length=100)
date=models.DateField() date=models.DateField()

View File

@ -59,7 +59,7 @@ def index():
def lii(name,proto,link='',note=''): def lii(name,proto,link='',note=''):
if link: name=f"<a href='{link}'>{name}</a>" if link: name=f"<a href='{link}'>{name}</a>"
if note: name=f"{name} ({note})" if note: name=f"{name} ({note})"
return f"\n<li>{proto}: {name}</li>" return f"<li>{proto}: {name}</li>"
@rerender @rerender
def contact(): def contact():