From a4f676fd320ab8bc22ac3233018b88dfa3238855 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 2 Sep 2023 19:23:22 +0300 Subject: bugfixing --- core/views/uploads.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/views/uploads.py') 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) -- cgit v1.2.3