diff -r 8ab9e72dd8f1 -r 3df2e0ae2eba web/views/calendar.py --- a/web/views/calendar.py Fri Dec 19 14:55:00 2008 +0100 +++ b/web/views/calendar.py Fri Dec 19 15:16:09 2008 +0100 @@ -15,7 +15,7 @@ from cubicweb.interfaces import ICalendarable from cubicweb.common.utils import date_range from cubicweb.common.uilib import ajax_replace_url -from cubicweb.common.selectors import interface_selector, anyrset_selector +from cubicweb.common.selectors import interface_selector from cubicweb.common.registerers import priority_registerer from cubicweb.common.view import EntityView @@ -146,7 +146,7 @@ class OneMonthCal(EntityView): """At some point, this view will probably replace ampm calendars""" __registerer__ = priority_registerer - __selectors__ = (interface_selector, anyrset_selector) + __selectors__ = (interface_selector, ) accepts_interfaces = (ICalendarable,) need_navigation = False id = 'onemonthcal' @@ -331,7 +331,7 @@ class OneWeekCal(EntityView): """At some point, this view will probably replace ampm calendars""" __registerer__ = priority_registerer - __selectors__ = (interface_selector, anyrset_selector) + __selectors__ = (interface_selector, ) accepts_interfaces = (ICalendarable,) need_navigation = False id = 'oneweekcal'