Commit 99137c0d authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

Fix deprecation warnings

- fix DeprecationWarning: [3.22] Use 'from cubicweb import _'
- fix DeprecationWarning: [3.16] moved to cubicweb.web.views.uicfg
- fix DeprecationWarning: [3.15] cubicweb.selectors renamed into cubicweb.predicates
parent 5ec2c14fade9
"""template-specific forms/views/actions/components"""
from logilab.common.decorators import monkeypatch
from cubicweb.web import uicfg, formwidgets as fw
from cubicweb.web.views import basecontrollers
from cubicweb.web import formwidgets as fw
from cubicweb.web.views import uicfg, basecontrollers
_afs = uicfg.autoform_section
_affk = uicfg.autoform_field_kwargs
......
......@@ -9,7 +9,8 @@ __docformat__ = "restructuredtext en"
from logilab.mtconverter import xml_escape
from cubicweb.selectors import is_instance
from cubicweb import _
from cubicweb.predicates import is_instance
from cubicweb.view import EntityView
......
......@@ -6,7 +6,8 @@
"""
__docformat__ = "restructuredtext en"
from cubicweb.selectors import is_instance
from cubicweb import _
from cubicweb.predicates import is_instance
from cubicweb.web.action import Action
class AccountingAction(Action):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment