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:
parent
c162411f0b
commit
6805bcb690
@ -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