From 31d7c4a718d4a94bc4182ce88fca619b9ad22d87 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 11 Dec 2025 17:43:30 +0000 Subject: [PATCH] add to do git commit field --- core/views/survex.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/views/survex.py b/core/views/survex.py index f0cdecd..b46f9e4 100644 --- a/core/views/survex.py +++ b/core/views/survex.py @@ -43,6 +43,8 @@ todo = """ survexcavessingle() can get called for a survex file depending on whether the URL ends in ".svx" or not, but each tries to handle the other case too. +- add a git commit comment field to the survex file editor. + """ SVXPATH = Path(settings.SURVEX_DATA) @@ -328,6 +330,8 @@ def svx(request, survex_file): Why is all the action code in this Class ?! Confusing.. + add commit comment field to the git commit action on Save + On Get does the SAME THING as svxcavesingle but is called when the .svx suffix is MISSING """ warning = False @@ -488,7 +492,6 @@ def year_for_svx(svxblocks): y = b.date return str(y.year) - def events_on_dates(svxblocks): """Returns a dictionary of indexed by date. For each date there is a named tuple of 3 lists: