Ejemplo n.º 1
0
    url(r'^screenshot/(?P<screenshot_id>\d+)/$', 'demovibes.webview.views.list_screenshot',   name = "dv-screenshot"),
    url(r'^screenshot/create/$',                    'demovibes.webview.views.create_screenshot', name = "dv-createscreenshot"),
    url(r'^screenshot/(?P<screenshot_id>\d+)/rethumb/$', 'demovibes.webview.views.rebuild_thumb',   name = "dv-screenshot-rethumb"),
    url(r'^new_screenshots/$',                      'demovibes.webview.views.activate_screenshots', name = "dv-newscreenshots"),

    #Song views
    url(r'^newshit/$',                          'demovibes.webview.views.new_songinfo_list', name="dv-new-info"),
    url(r'^songs/$',                               views.ListSongs(), name = "dv-songs"),
    url(r'^songs/(?P<letter>.)/$',                 views.ListSongs(), name = "dv-songs_letter"),
    url(r'^song/(?P<song_id>\d+)/$',             'demovibes.webview.views.list_song',   name = "dv-song"),
    url(r'^song/(?P<song_id>\d+)/download/$',             views.DownloadSong(),   name = "dv-dl-song"),
    url(r'^song/(?P<song_id>\d+)/addlink/$',             'demovibes.webview.views.add_songlinks',   name = "dv-song-addlink"),
    url(r'^song/(?P<song_id>\d+)/edit/$',             'demovibes.webview.views.edit_songinfo',   name = "dv-song-edit"),
    url(r'^song/(?P<song_id>\d+)/infolist/$',             'demovibes.webview.views.list_songinfo_for_song',   name = "dv-song-infolist"),
    url(r'^song/(?P<song_id>\d+)/comments/$',      views.songComments(), name = "dv-song_comment"),
    url(r'^song/(?P<song_id>\d+)/votes/$',         views.songVotes(), name = "dv-song_votes"),
    url(r'^song/(?P<song_id>\d+)/queue_history/$', views.songHistory(), name = "dv-song_history"),

    url(r'^metainfo/(?P<songinfo_id>\d+)/$',             'demovibes.webview.views.view_songinfo',   name = "dv-songinfo-view"),

    url(r'^groups/$',                             views.ListGroups(), name = "dv-groups"),
    url(r'^groups/(?P<letter>.)/$',               views.ListGroups(), name = "dv-groups_letter"),
    url(r'^group/(?P<object_id>\d+)/$',            'django.views.generic.list_detail.object_detail',       group_a_dict, name = "dv-group"),

    url(r'^statistics/$',                           views.songStatistics(), name = "dv-stats-index"),
    url(r'^statistics/(?P<stattype>\w+)/$',         views.songStatistics(), name = "dv-stats"),

    # Updated Information, such as groups, labels etc.
    url(r'^updates/$',                  'demovibes.webview.views.showRecentChanges', name = "dv-updates"),

    url(r'^artists/$',                             views.ListArtists(), name = "dv-artists"),
Ejemplo n.º 2
0
    url(r'^screenshot/(?P<screenshot_id>\d+)/$', 'demovibes.webview.views.list_screenshot',   name = "dv-screenshot"),
    url(r'^screenshot/create/$',                    'demovibes.webview.views.create_screenshot', name = "dv-createscreenshot"),
    url(r'^screenshot/(?P<screenshot_id>\d+)/rethumb/$', 'demovibes.webview.views.rebuild_thumb',   name = "dv-screenshot-rethumb"),
    url(r'^new_screenshots/$',                      'demovibes.webview.views.activate_screenshots', name = "dv-newscreenshots"),

    #Song views
    url(r'^newshit/$',                          'demovibes.webview.views.new_songinfo_list', name="dv-new-info"),
    url(r'^songs/$',                               views.ListSongs(), name = "dv-songs"),
    url(r'^songs/(?P<letter>.)/$',                 views.ListSongs(), name = "dv-songs_letter"),
    url(r'^song/(?P<song_id>\d+)/$',             'demovibes.webview.views.list_song',   name = "dv-song"),
    url(r'^song/(?P<song_id>\d+)/download/$',             views.DownloadSong(),   name = "dv-dl-song"),
    url(r'^song/(?P<song_id>\d+)/addlink/$',             'demovibes.webview.views.add_songlinks',   name = "dv-song-addlink"),
    url(r'^song/(?P<song_id>\d+)/edit/$',             'demovibes.webview.views.edit_songinfo',   name = "dv-song-edit"),
    url(r'^song/(?P<song_id>\d+)/infolist/$',             'demovibes.webview.views.list_songinfo_for_song',   name = "dv-song-infolist"),
    url(r'^song/(?P<song_id>\d+)/comments/$',      views.songComments(), name = "dv-song_comment"),
    url(r'^song/(?P<song_id>\d+)/votes/$',         views.songVotes(), name = "dv-song_votes"),
    url(r'^song/(?P<song_id>\d+)/queue_history/$', views.songHistory(), name = "dv-song_history"),

    url(r'^metainfo/(?P<songinfo_id>\d+)/$',             'demovibes.webview.views.view_songinfo',   name = "dv-songinfo-view"),

    url(r'^groups/$',                             views.ListGroups(), name = "dv-groups"),
    url(r'^groups/(?P<letter>.)/$',               views.ListGroups(), name = "dv-groups_letter"),
    url(r'^group/(?P<object_id>\d+)/$',            'django.views.generic.list_detail.object_detail',       group_a_dict, name = "dv-group"),

    url(r'^statistics/$',                           views.songStatistics(), name = "dv-stats-index"),
    url(r'^statistics/(?P<stattype>\w+)/$',         views.songStatistics(), name = "dv-stats"),

    # Updated Information, such as groups, labels etc.
    url(r'^updates/$',                  'demovibes.webview.views.showRecentChanges', name = "dv-updates"),

    url(r'^artists/$',                             views.ListArtists(), name = "dv-artists"),