2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 09:26:47 +00:00

nearly complete store logbook entries in separate JSON files

This commit is contained in:
2025-11-22 22:38:47 +02:00
parent 88833941b5
commit 0e6a3e457d
4 changed files with 45 additions and 30 deletions

View File

@@ -176,7 +176,7 @@ class PersonLogEntry(TroggleModel):
"""
personexpedition = models.ForeignKey("PersonExpedition", null=True, on_delete=models.CASCADE, db_index=True)
time_underground = models.FloatField(help_text="In decimal hours")
time_underground = models.FloatField(help_text="In decimal hours")
logbook_entry = models.ForeignKey(LogbookEntry, on_delete=models.CASCADE, db_index=True)
is_logbook_entry_author = models.BooleanField(default=False)
nickname_used = models.CharField(max_length=100,default="") # e.g. "Animal" or "Zonker", as it appears in the original logbook