2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 03:38:50 +00:00

pathlib updates

This commit is contained in:
Philip Sargent
2021-03-24 17:32:45 +00:00
parent 9a91487375
commit 39194704f5
4 changed files with 60 additions and 39 deletions

View File

@@ -16,6 +16,7 @@ a complete reset, and the queue is then executed.
In future all these functions may be moved to a control panel webpage running within the
troggle application.
"""
print(" - settings on loading databaseReset.py", flush=True)
os.environ['PYTHONPATH'] = settings.PYTHON_PATH
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')