diff --git a/core/models/logbooks.py b/core/models/logbooks.py index aef21c1..03a06a9 100644 --- a/core/models/logbooks.py +++ b/core/models/logbooks.py @@ -52,6 +52,7 @@ class LogbookEntry(TroggleModel): place = models.CharField( max_length=100, blank=True, null=True, help_text="Only use this if you haven't chosen a cave" ) + other_people = models.CharField(max_length=200, blank=True, null=True) # foreign_friends and *guests text = models.TextField() slug = models.SlugField(max_length=50) # this is tripid time_underground = models.FloatField(null=True, help_text="In decimal hours") @@ -104,7 +105,6 @@ def writelogbook(year, filename): print(f"Logbook exported has {len(logbook_entries)} entries in it.") - extension = "html" template = "logbook2005style.html" t = loader.get_template(template)