'mediagoblin.plugins.libreplanet.views:video_listing'),
('all-photos', '/photos',
'mediagoblin.plugins.libreplanet.views:image_listing'),
+
('featured-videos', '/videos/featured',
'mediagoblin.plugins.libreplanet.views:featured_video_listing'),
('featured-photos', '/photos/featured',
def video_listing(request, page):
return type_listing(u'mediagoblin.media_types.video', 'Videos', request, page)
+
@uses_pagination
def featured_image_listing(request, page):
return type_listing(u'mediagoblin.media_types.image', 'Featured Photos', request, page, "featured")
def featured_video_listing(request, page):
return type_listing(u'mediagoblin.media_types.video', 'Featured Videos', request, page, "featured")
+
@uses_pagination
def libreplanet_image_listing(request, page):
return type_listing(u'mediagoblin.media_types.image', 'LibrePlanet Photos', request, page, "libreplanet")