2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-26 17:21:52 +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 c3300f7c96
commit 01f17dc1cc

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():