def ajax_login_required(view):
"""Similar ro @login_required, but instead of redirect,
def ajax_login_required(view):
"""Similar ro @login_required, but instead of redirect,
- return direct_to_template(request, 'renderer.html', mimetype="application/xhtml+xml",
+ return direct_to_template(request, 'renderer.html', mimetype="text/html",