From c9729c046ccccfd5e858f1fe8fbf24619d156e30 Mon Sep 17 00:00:00 2001
From: Philip Sargent <philip.sargent@gmail.com>
Date: Sat, 2 Sep 2023 14:49:43 +0300
Subject: [PATCH] Adding field to logbookentry

---
 core/models/logbooks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)