Stupid pluralisation
This commit is contained in:
parent
025f8fdf41
commit
e80bbc2329
|
@ -29,6 +29,6 @@ class Contact(models.Model):
|
|||
def __str__(self):
|
||||
return self.proto+': '+self.name
|
||||
|
||||
class Updates(models.Model):
|
||||
class Update(models.Model):
|
||||
page=models.CharField(max_length=100)
|
||||
date=models.DateField()
|
|
@ -59,7 +59,7 @@ def index():
|
|||
def lii(name,proto,link='',note=''):
|
||||
if link: name=f"<a href='{link}'>{name}</a>"
|
||||
if note: name=f"{name} ({note})"
|
||||
return f"\n<li>{proto}: {name}</li>"
|
||||
return f"<li>{proto}: {name}</li>"
|
||||
|
||||
@rerender
|
||||
def contact():
|
||||
|
|
Loading…
Reference in New Issue
Block a user