forked from expo/troggle
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():
|
def pageredirects():
|
||||||
for oldURL, newURL in [("indxal.htm", reverse("caveindex"))]:
|
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()
|
f.save()
|
||||||
|
|
||||||
def writeCaves():
|
def writeCaves():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user