skeleton/views.py.tmpl
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 16 Jun 2015 18:01:58 +0200
changeset 10390 0bbd211cf4d7
parent 8207 c04676b16c59
permissions -rw-r--r--
[views] implement a custom json error view If the client asked for ``(e)jsonexport`` view, answer him with a json response rather than an error formatted in a big HTML blob. add a custom _requested_vid predicate. In cw 3.21, it will be deprecated in favor of ``match_form_params(vid=('jsonexport', 'ejsonexport'))``

# -*- coding: utf-8 -*-
# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s views/forms/actions/components for web ui"""