web/views/eproperties.py
branchtls-sprint
changeset 688 cddfbdee0eb3
parent 0 b97547f5f1fa
child 691 35133d86970b
--- a/web/views/eproperties.py	Tue Feb 17 20:34:20 2009 +0100
+++ b/web/views/eproperties.py	Tue Feb 17 20:39:09 2009 +0100
@@ -7,8 +7,9 @@
 """
 __docformat__ = "restructuredtext en"
 
+from cubicweb.selectors import implements
 from cubicweb.web.views import baseviews
 
 class EPropertyPrimaryView(baseviews.PrimaryView):
-    accepts = ('EProperty',)
+    __selectors__ = implements('EProperty')
     skip_none = False