kill cwuri facet which don't make sense as cwuri should be used
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 12 Oct 2010 19:04:30 +0200
changeset 253 9924ebbdf44d
parent 252 8d342bf31d94
child 254 7c2872c36ee2
kill cwuri facet which don't make sense as cwuri should be used
views/facet.py
--- a/views/facet.py	Tue Oct 12 18:48:40 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-from cubicweb.selectors import is_instance
-from cubicweb.web.facet import AttributeFacet
-
-class CWUriFacet(AttributeFacet):
-    __regid__ = 'cwuri-facet'
-    __select__ = AttributeFacet.__select__ & is_instance('BlogEntry', 'MicroBlogEntry')
-    rtype = 'cwuri'