skeleton/schema.py.tmpl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 20 Jul 2015 13:55:54 +0200
changeset 10582 bc2f6f0d7433
parent 8207 c04676b16c59
permissions -rw-r--r--
[urlpublish] RESTPathEvaluator now use vid_from_rset This avoid cases where vid may be unexpectedly overwritten. For instance when you define a custom vid for a mime type in VID_BY_MIMETYPE, it will currently be overriden by the URL publisher when you access to /<etype> with the proper Accept header. To do so, a new 'check_table' argument is introduced, which may cause bw compatibility problems if the function has been monkey-patched. Also pep8 a bit the tests. Closes #5705835

# -*- 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 schema"""