diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-07-12 17:18:05 +0200 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-07-12 17:18:05 +0200 |
commit | 24c5ba97111428f0ee43d5633b278dc1a0c055c0 (patch) | |
tree | 7e1fb5431b4a01163f79589aeacc3985e7671a32 /parsers/logbooks.py | |
parent | a4783d23328e37f9a931c8c2d3c994496cf72cb5 (diff) | |
download | troggle-24c5ba97111428f0ee43d5633b278dc1a0c055c0.tar.gz troggle-24c5ba97111428f0ee43d5633b278dc1a0c055c0.tar.bz2 troggle-24c5ba97111428f0ee43d5633b278dc1a0c055c0.zip |
Remove CaveSLug as a Class. Now each Cave has only one slug for sure.
Diffstat (limited to 'parsers/logbooks.py')
-rw-r--r-- | parsers/logbooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py index b122250..d5580a1 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -269,7 +269,7 @@ def store_entry_into_database(date, place, tripcave, title, text, trippersons, a "text": text, "expedition": expedition, "time_underground": logtime_underground, - "cave_slug": str(tripcave), + "cave": tripcave, } coUniqueAttribs = {"slug": tid, "date": date, "title": title} if LogbookEntry.objects.filter(slug=tid).exists(): |