[PATCH saem_ref] [skos] Add back vreg.register_all() call in views's registration callback

Denis Laxalde denis.laxalde at logilab.fr
Fri Sep 28 10:39:24 CEST 2018


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1538123467 -7200
#      Fri Sep 28 10:31:07 2018 +0200
# Node ID cb6995e6a650a6e408511fb08228390597f8319f
# Parent  4d3586d07bd4d6489657a1cbbf24e34bbae84839
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r cb6995e6a650
[skos] Add back vreg.register_all() call in views's registration callback

This got dropped by mistake in 1efe603bff6c.

diff --git a/cubicweb_saem_ref/views/skos.py b/cubicweb_saem_ref/views/skos.py
--- a/cubicweb_saem_ref/views/skos.py
+++ b/cubicweb_saem_ref/views/skos.py
@@ -115,6 +115,7 @@ class ConceptPopoverView(AnyRsetView):
 
 
 def registration_callback(vreg):
+    vreg.register_all(globals().values(), __name__)
     from cubicweb_skos.views import ImportConceptSchemeAction
     vreg.unregister(ImportConceptSchemeAction)
     from cubicweb.web.views import cwsources



More information about the saem-devel mailing list