Fixed wiki main page
This commit is contained in:
@@ -41,6 +41,9 @@ def root_redirect(request):
|
||||
"""
|
||||
try:
|
||||
root = Article.get_root()
|
||||
if root.slug == "":
|
||||
root.slug = "Home"
|
||||
root.save()
|
||||
except:
|
||||
err = not_found(request, 'mainpage')
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user