Commit fa0954d5 by Piotr Mitros

Fixed wiki main page

parent bab7409f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment