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 = NormalBrowser(paginate_by=52)
     viewall = ViewAllBrowser(paginate_by=100)
     json = SerializationBrowser(serializer=ImageComparisonSerializer,
                                 emitter=JSONEmitter,
                                 paginate_by=20,
                                 display=False,
                                 verbose_name=ugettext_noop("JSON"))
     ical = SerializationBrowser(serializer=ICalImageComparisonSerializer,
                                 emitter=ICalEmitter,
                                 paginate_by=100,
                                 display=False,
                                 verbose_name=ugettext_noop("iCal"))
 class Browsers(object):
     normal = NormalBrowser(paginate_by=50)
     viewall = ViewAllBrowser(paginate_by=250)
     top100 = ViewAllBrowser(index_template='index_top100.html',
                             paginate_by=100)
     fbtop100 = ViewAllBrowser(index_template='index_top100.html',
                               paginate_by=5)
     fs = ViewAllBrowser(index_template='top100_fs.html', paginate_by=10)
     json = SerializationBrowser(serializer=AVMImageSerializer,
                                 emitter=JSONEmitter,
                                 paginate_by=100,
                                 display=False,
                                 verbose_name=ugettext_noop("JSON"))
     minijson = SerializationBrowser(serializer=MiniImageSerializer,
                                     emitter=JSONEmitter,
                                     paginate_by=10,
                                     display=False,
                                     verbose_name=ugettext_noop("JSON"))
Exemple #4
0
 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 = NormalBrowser( paginate_by=50 )
     viewall = ViewAllBrowser( paginate_by=100 )
     json = SerializationBrowser( serializer=VideoSerializer, emitter=JSONEmitter, paginate_by=100, display=False, verbose_name=ugettext_noop( "JSON" ) )