diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-02 19:23:22 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-02 19:23:22 +0300 |
commit | a4f676fd320ab8bc22ac3233018b88dfa3238855 (patch) | |
tree | e247dedc40362954b054625046c3a12311ec4147 /core/views/uploads.py | |
parent | 1a8bc17f806d88b06aeabc28c11a6da199216fe2 (diff) | |
download | troggle-a4f676fd320ab8bc22ac3233018b88dfa3238855.tar.gz troggle-a4f676fd320ab8bc22ac3233018b88dfa3238855.tar.bz2 troggle-a4f676fd320ab8bc22ac3233018b88dfa3238855.zip |
bugfixing
Diffstat (limited to 'core/views/uploads.py')
-rw-r--r-- | core/views/uploads.py | 3 |
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) |