diff options
-rw-r--r-- | core/models/caves.py | 3 | ||||
-rw-r--r-- | parsers/caves.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/core/models/caves.py b/core/models/caves.py index aa6c82b..8cd658c 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -626,6 +626,7 @@ def GetCaveLookup(): checkcaveid(cave,slug) # These might alse create more duplicate entries + # Yes, this should be set in, and imported from, settings.py aliases =[ ("1987-02", "267"), ("1990-01", "171"), @@ -748,8 +749,8 @@ def GetCaveLookup(): ("homecoming", "2018-dm-07"), ("heimkommen", "2018-dm-07"), + ("Heimkehr", "2018-dm-07"), ("99ob02", "1999-ob-02"), - ("1626-354", "354"), ] for i in aliases: diff --git a/parsers/caves.py b/parsers/caves.py index 92eb0f0..3549c75 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -106,6 +106,8 @@ def do_pending_cave(k, url, area): default_note += f"<br><br>\n\n - Only two fields on this form are essential. " default_note += f"Documentation of all the fields on 'Edit this cave' form is in <a href='/handbook/survey/caveentryfields.html'>handbook/survey/caveentryfields</a>" default_note += f"<br><br>\n\n - " + default_note += f"You will also need to create a new entrance from the 'Edit this cave' page. Ignore the existing dummy one, it will evaporate on the next full import." + default_note += f"<br><br>\n\n - " default_note += f"When you Submit it will create a new file in expoweb/cave_data/ " default_note += f"<br><br>\n\n - Now you can edit the entrance info: click on Edit below for the dummy entrance. " default_note += f"and then Submit to save it (if you forget to do this, a dummy entrance will be created for your new cave description)." |