common/mixins.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 25 Jan 2010 19:16:35 +0100
changeset 4338 0eb7efcbcee1
parent 4252 6c4f109c2b03
child 5421 8167de96c523
permissions -rw-r--r--
to ease overriding of field.choices using *function* (set using autoform_field_kwargs), give the field as named argument

"""pre 3.6 bw compat"""
# pylint: disable-msg=W0614,W0401
from warnings import warn
warn('moved to cubicweb.mixins', DeprecationWarning, stacklevel=2)
from cubicweb.mixins import *