From 7e47fe1f30e68bff5a31caee8cdf356d0f802888 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 5 Oct 2022 21:11:18 +0300 Subject: Parse all files, not just those in the *include tree --- parsers/caves.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'parsers/caves.py') diff --git a/parsers/caves.py b/parsers/caves.py index 634434c..9458d7a 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -457,7 +457,7 @@ def readcaves(): DataIssue.objects.filter(parser='caves ok').delete() DataIssue.objects.filter(parser='entrances').delete() - print(" - Creating Areas 1623, 1624 and 1626") + print(" - Creating Areas 1623, 1624, 1627 and 1626") # This crashes on the server with MariaDB even though a null parent is explicitly allowed. area_1623= Area.objects.create(short_name = "1623", super=None) print(" - Saving Area 1623") @@ -468,6 +468,9 @@ def readcaves(): area_1626= Area.objects.create(short_name = "1626", super=None) print(" - Saving Area 1626") area_1626.save() + area_1627= Area.objects.create(short_name = "1627", super=None) + print(" - Saving Area 1627") + area_1627.save() with transaction.atomic(): -- cgit v1.2.3