Commit b4d3be88 by benjaoming

Merge pull request #202 from rgcarrasqueira/master

Become compatible with django-cms 2.4.2 due django-sekizai
parents 08758a6a 8ede8b82
......@@ -720,7 +720,8 @@ class CreateRootView(FormView):
template_name = 'wiki/create_root.html'
def dispatch(self, request, *args, **kwargs):
if not self.request.user.is_superuser:
if not request.user.is_superuser:
return redirect("wiki:root_missing")
try:
......
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