diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-02 14:49:43 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-02 14:49:43 +0300 |
commit | c9729c046ccccfd5e858f1fe8fbf24619d156e30 (patch) | |
tree | 343bff6c272c16d4c0db204ae2e87af60082116a | |
parent | 34064972e9836ba855fe6e4585745bd2ce7a4c62 (diff) | |
download | troggle-c9729c046ccccfd5e858f1fe8fbf24619d156e30.tar.gz troggle-c9729c046ccccfd5e858f1fe8fbf24619d156e30.tar.bz2 troggle-c9729c046ccccfd5e858f1fe8fbf24619d156e30.zip |
Adding field to logbookentry
-rw-r--r-- | core/models/logbooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |