Commits

Florent Cayré committed f0aeead

doc update: custom entity class selector is useless

  • Participants
  • Parent commits 06c086d

Comments (0)

Files changed (1)

 
 .. sourcecode:: python
 
- from cubicweb.selectors import yes, is_instance
+ from cubicweb.selectors import is_instance
  
  from cubes.card.entities import Card as OrigCard
  from cubes.i18nfield.entities import (TranslatableEntityMixin,
  
  
  class Card(TranslatableEntityMixin, OrigCard):
-     __select__ = OrigCard.__select__ & yes()
      i18nfields = (u'title', u'synopsis', u'content')
  
      def dc_title(self):