summaryrefslogtreecommitdiffstats
path: root/parsers/caves.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/caves.py')
-rw-r--r--parsers/caves.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/parsers/caves.py b/parsers/caves.py
index 21f2b3f..6b73c13 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -149,9 +149,11 @@ def readcaves():
with transaction.atomic():
print(" - Deleting Caves and Entrances")
+ Area.objects.all().delete()
Cave.objects.all().delete()
Entrance.objects.all().delete()
# Clear the cave data issues and the caves as we are reloading
+ DataIssue.objects.filter(parser='areas').delete()
DataIssue.objects.filter(parser='caves').delete()
DataIssue.objects.filter(parser='caves ok').delete()
DataIssue.objects.filter(parser='entrances').delete()