Use new-style name for cubicweb-relationwidget
authorDenis Laxalde <denis.laxalde@logilab.fr>
Fri, 11 Oct 2019 12:18:13 +0200
changeset 3059 49c01da894a4
parent 3058 91418e16aa61
child 3060 f954d0527fab
Use new-style name for cubicweb-relationwidget This is especially important for the JS file.
cubicweb_seda/views/archivetransfer.py
cubicweb_seda/views/archiveunit.py
cubicweb_seda/views/clone.py
cubicweb_seda/views/dataobject.py
cubicweb_seda/views/widgets.py
--- a/cubicweb_seda/views/archivetransfer.py	Fri Oct 04 11:52:55 2019 +0200
+++ b/cubicweb_seda/views/archivetransfer.py	Fri Oct 11 12:18:13 2019 +0200
@@ -23,7 +23,7 @@
 from cubicweb.web import formwidgets as fw
 from cubicweb.web.views import tabs, uicfg, reledit
 
-from cubes.relationwidget import views as rwdg
+from cubicweb_relationwidget import views as rwdg
 
 from ..xsd2yams import RULE_TYPES
 from ..entities import full_seda2_profile, simplified_profile, parent_and_container
--- a/cubicweb_seda/views/archiveunit.py	Fri Oct 04 11:52:55 2019 +0200
+++ b/cubicweb_seda/views/archiveunit.py	Fri Oct 11 12:18:13 2019 +0200
@@ -27,7 +27,7 @@
 from cubicweb.web.views import autoform, baseviews, tabs, uicfg
 
 from cubicweb_compound import views as compound
-from cubes.relationwidget import views as rwdg
+from cubicweb_relationwidget import views as rwdg
 
 from ..xsd import un_camel_case
 from ..entities import (is_full_seda2_profile, full_seda2_profile,
--- a/cubicweb_seda/views/clone.py	Fri Oct 04 11:52:55 2019 +0200
+++ b/cubicweb_seda/views/clone.py	Fri Oct 11 12:18:13 2019 +0200
@@ -22,7 +22,7 @@
 
 from cubicweb_compound.entities import copy_entity
 from cubicweb_compound import views as compound
-from cubes.relationwidget import views as rwdg
+from cubicweb_relationwidget import views as rwdg
 
 from .widgets import configure_relation_widget
 
--- a/cubicweb_seda/views/dataobject.py	Fri Oct 04 11:52:55 2019 +0200
+++ b/cubicweb_seda/views/dataobject.py	Fri Oct 11 12:18:13 2019 +0200
@@ -25,7 +25,7 @@
 from cubicweb.predicates import match_form_params, is_instance
 from cubicweb.web.views import uicfg, tabs, ibreadcrumbs
 
-from cubes.relationwidget import views as rwdg
+from cubicweb_relationwidget import views as rwdg
 from cubicweb_skos.views import widgets as skos
 
 from ..xsd2yams import SCHEME_FROM_CONTAINER
--- a/cubicweb_seda/views/widgets.py	Fri Oct 04 11:52:55 2019 +0200
+++ b/cubicweb_seda/views/widgets.py	Fri Oct 11 12:18:13 2019 +0200
@@ -24,7 +24,7 @@
 from cubicweb.web import formfields as ff, formwidgets as fw
 from cubicweb.web.views import ajaxcontroller, autoform, formrenderers
 
-from cubes.relationwidget import views as rwdg
+from cubicweb_relationwidget import views as rwdg
 
 
 # deactivate relation widget's creation form by default, it causes some js error if e.g. there are
@@ -44,7 +44,7 @@
                 'cubicweb.ajax.js',
                 'cubicweb.widgets.js',
                 'cubicweb.facets.js',
-                'cubes.relationwidget.js',
+                'cubicweb_relationwidget.js',
                 'cubes.editionext.js'))
     return 'javascript: %s' % js.editext.relateWidget(div, search_url, title, multiple,
                                                       utils.JSString(validate))