summaryrefslogtreecommitdiffstats
path: root/core/views/uploads.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-09-02 19:23:22 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-09-02 19:23:22 +0300
commita4f676fd320ab8bc22ac3233018b88dfa3238855 (patch)
treee247dedc40362954b054625046c3a12311ec4147 /core/views/uploads.py
parent1a8bc17f806d88b06aeabc28c11a6da199216fe2 (diff)
downloadtroggle-a4f676fd320ab8bc22ac3233018b88dfa3238855.tar.gz
troggle-a4f676fd320ab8bc22ac3233018b88dfa3238855.tar.bz2
troggle-a4f676fd320ab8bc22ac3233018b88dfa3238855.zip
bugfixing
Diffstat (limited to 'core/views/uploads.py')
-rw-r--r--core/views/uploads.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/views/uploads.py b/core/views/uploads.py
index 8a9c734..0031f24 100644
--- a/core/views/uploads.py
+++ b/core/views/uploads.py
@@ -81,8 +81,9 @@ def store_edited_entry_into_database(date, place, title, text, others, author, t
"expedition": expedition,
"time_underground": tu,
"cave_slug": str(cave),
+ "title": f"{place} - {title}"
}
- lookupAttribs = {"slug": slug, "date": date, "title": title}
+ lookupAttribs = {"slug": slug, "date": date }
lbo = LogbookEntry.objects.create(**nonLookupAttribs, **lookupAttribs)