2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00
This commit is contained in:
Philip Sargent 2022-07-19 20:54:46 +03:00
parent 6883ff49a0
commit 2e14be61a2

View File

@ -172,9 +172,8 @@ def readcaves():
print(" - Creating Areas 1623 and 1626")
# This crashes on the server with MariaDB even though a null parent is explicitly allowed.
area_1623, state = Area.objects.update_or_create(short_name = "1623")
#print(f' ! - READ CAVES: {area_1623}')
area_1626, state = Area.objects.update_or_create(short_name = "1626")
area_1623= Area.objects.create(short_name = "1623")
area_1626= Area.objects.create(short_name = "1626")
print (" - Setting pending caves")
# Do this first, so that these empty entries are overwritten as they get properly created.