You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError at /collaborate/individuals/
page() takes at least 2 arguments (2 given)
at mezzanine/pages/middleware.py in process_view, line 80
Basically, the middleware trying to do some fancy checking - this includes resolving some possible url options. While its failing for some other reason, I believe even if it was passing, there is going to be a recursion problem.
The text was updated successfully, but these errors were encountered:
# Handle ``page.login_required``.
if page.login_required and not request.user.is_authenticated():
path = urlquote(request.get_full_path())
bits = (settings.LOGIN_URL, REDIRECT_FIELD_NAME, path)
return redirect("%s?%s=%s" % bits)
if (page.slug == slug and view_func == page_view) or (page.slug == slug and view_func.func_name == 'multiview'): << this line
# Add the page to the ``extra_context`` arg for the
# page view, which is responsible for choosing which
# template to use, and raising 404 if there's no page
# instance loaded.
view_kwargs.setdefault("extra_context", {})
view_kwargs["extra_context"]["page"] = page
TypeError at /collaborate/individuals/
page() takes at least 2 arguments (2 given)
at mezzanine/pages/middleware.py in process_view, line 80
Basically, the middleware trying to do some fancy checking - this includes resolving some possible url options. While its failing for some other reason, I believe even if it was passing, there is going to be a recursion problem.
The text was updated successfully, but these errors were encountered: