2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-14 05:55:06 +00:00

static files redone

This commit is contained in:
Philip Sargent
2020-06-18 21:50:16 +01:00
parent bd6490631f
commit d9c6986a89
25 changed files with 122 additions and 151 deletions

View File

@@ -27,7 +27,7 @@ import troggle.core.models_survex
from django.core import management
from django.db import connection, close_old_connections, connections
from django.http import HttpResponse
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.contrib.auth.models import User
from troggle.core.models_caves import Cave, Entrance
@@ -75,7 +75,7 @@ def reinit_db():
print(" - deleting " + currentdbname)
os.remove(currentdbname)
except OSError:
print(" ! OSError on removing: " + currentdbname + " (Is the file open in another app?\n")
print(" ! OSError on removing: " + currentdbname + " (Is the file open in another app? Is the server running?\n")
raise
else:
print(" - No database file found: " + currentdbname + " ..continuing, will create it.\n")