cubicweb/__main__.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 19 Jun 2017 18:15:28 +0200
changeset 12188 fea018b2e056
parent 11099 5fdbf6f2db88
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[web] Set response status to 400 when appropriate in ajax controller When this is clearly a client error, set status to 400. Otherwise, keep the default value for RemoteCallFailed (status=500).

from cubicweb.cwctl import run
import sys

run(sys.argv[1:])