summaryrefslogtreecommitdiffstats
path: root/core/views/uploads.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/uploads.py')
-rw-r--r--core/views/uploads.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views/uploads.py b/core/views/uploads.py
index 3d4e987..403a30d 100644
--- a/core/views/uploads.py
+++ b/core/views/uploads.py
@@ -69,7 +69,7 @@ def store_edited_entry_into_database(date, place, title, text, others, author, t
year = slug[0:4]
expedition = Expedition.objects.get(year=year)
cave = GetCaveLookup().get(place.lower())
- # print(f"{place} {cave=}")
+ # print(f"store_edited_entry_into_database(): {place=} {cave=}")
if LogbookEntry.objects.filter(slug=slug).exists():
# oops.
@@ -82,7 +82,7 @@ def store_edited_entry_into_database(date, place, title, text, others, author, t
"text": text,
"expedition": expedition,
"time_underground": tu,
- "cave_slug": str(cave),
+ "cave": cave,
"title": f"{place} - {title}",
# "other_people": others
}