2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-31 07:22:32 +00:00

Add 'troggle' namespace to databasereset.py so it runs in django >1.5

This commit is contained in:
expoonserver 2018-06-17 02:41:58 +01:00
parent c162411f0b
commit 6805bcb690

View File

@ -156,7 +156,7 @@ def dumplogbooks():
def pageredirects():
for oldURL, newURL in [("indxal.htm", reverse("caveindex"))]:
f = flatpages.models.Redirect(originalURL = oldURL, newURL = newURL)
f = troggle.flatpages.models.Redirect(originalURL = oldURL, newURL = newURL)
f.save()
def writeCaves():