class Browsers(object): html = ListBrowser( verbose_name='HTML', paginate_by=1000 ) html_embed = ListBrowser( verbose_name='HTML', paginate_by=1000, index_template='index_list_embed.html' ) html_conf_embed = ListBrowser( verbose_name='HTML', paginate_by=1000, index_template='index_list_embed.html' ) html_industry = ListBrowser( verbose_name='HTML', paginate_by=1000, index_template='index_list_industry.html' ) json = SerializationBrowser( serializer=EventSerializer, emitter=JSONEmitter, paginate_by=100, display=False, verbose_name=_( "JSON" ) ) ical = SerializationBrowser( serializer=ICalEventSerializer, emitter=ICalEmitter, paginate_by=100, display=True, verbose_name=_( "iCal" ) )
class Browsers(object): normal = ListBrowser(paginate_by=50, index_template='index_newsletters.html') viewall = ListBrowser(paginate_by=100) html_embed = ListBrowser(verbose_name='HTML', paginate_by=100, index_template='index_newsletters_embed.html')
class Browsers(object): normal = ListBrowser() viewall = ListBrowser(verbose_name=ugettext_noop(u'View all'), paginate_by=100)
class Browsers( object ): normal = ListBrowser( paginate_by=20 ) viewall = ListBrowser( paginate_by=100 ) json = SerializationBrowser( serializer=PictureOfTheWeekSerializer, emitter=JSONEmitter, paginate_by=20, display=False, verbose_name=ugettext_noop( "JSON" ) ) ical = SerializationBrowser( serializer=ICalPictureOfTheWeekSerializer, emitter=ICalEmitter, paginate_by=100, display=False, verbose_name=ugettext_noop( "iCal" ) )
class Browsers( object ): normal = ListBrowser( verbose_name=ugettext_noop( u'View all' ), paginate_by=100 ) json = SerializationBrowser( serializer=WebUpdateSerializer, emitter=JSONEmitter, paginate_by=100, display=False, verbose_name=ugettext_noop( "JSON" ) ) ical = SerializationBrowser( serializer=ICalWebUpdateSerializer, emitter=ICalEmitter, paginate_by=100, display=False, verbose_name=ugettext_noop( "iCal" ) )
class Browsers(object): normal = ListBrowser()