mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 08:57:10 +00:00
Now compat with Dj2.0.13 & 1.11.29
This commit is contained in:
@@ -18,9 +18,7 @@ import troggle.parsers.QMs
|
||||
def import_caves():
|
||||
print("-- Importing Caves to ",end="")
|
||||
print(django.db.connections.databases['default']['NAME'])
|
||||
# wrap the entire import in a transaction
|
||||
with transaction.atomic():
|
||||
troggle.parsers.caves.readcaves()
|
||||
troggle.parsers.caves.readcaves()
|
||||
|
||||
def import_people():
|
||||
print("-- Importing People (folk.csv) to ",end="")
|
||||
|
||||
Reference in New Issue
Block a user