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:
parent
c3300f7c96
commit
01f17dc1cc
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user