bin/cubicweb-ctl
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 08 Sep 2009 21:57:45 +0200
branchstable
changeset 3124 c929360212ca
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[forms] fix form enctype handling with inlined forms If an inlined form is added dynamically and contains a file input, the parent form enctype must be set to multiplart/form-data otherwise files won't be uploaded correctly.

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])