Source

ytmanager / urls.py

from django.conf.urls.defaults import *

urlpatterns = patterns('',
    (r'^$', 'mcyoutube.views.playlists', {}, 'ytmanager-playlists'),
    (r'^auth/$', 'mcyoutube.views.auth', {}, 'ytmanager-auth'),
    (r'^reset/$', 'mcyoutube.views.reset', {}, 'ytmanager-reset'),
    (r'^login/$', 'django.views.generic.simple.direct_to_template',
            {'template': 'ytmanager/login.html'}, 'ytmanager-login'),
    (r'^import-playlist/$', 'mcyoutube.views.import_playlist',
            {}, 'ytmanager-import-playlist'),
    (r'^check-playlists/$', 'mcyoutube.views.check_playlists',
            {}, 'ytmanager-check-playlists'),
    (r'^wait-playlists/$', 'django.views.generic.simple.direct_to_template',
            {'template': 'ytmanager/wait-playlists.html'}, 'ytmanager-wait-playlists'),

    (r'^playlists/entries/update/$',
            'mcyoutube.views.update_playlist_entry',
            {},
            'ytmanager-update-playlist-entry'),
    (r'^playlists/entries/delete/$',
            'mcyoutube.views.delete_playlist_entry',
            {},
            'ytmanager-delete-playlist-entry'),

    (r'^playlists/create/$',
            'mcyoutube.views.create_playlist',
            {},
            'ytmanager-create-playlist'),
    (r'^playlists/update/$',
            'mcyoutube.views.update_playlist',
            {},
            'ytmanager-update-playlist'),
    (r'^playlists/delete/$',
            'mcyoutube.views.delete_playlist',
            {},
            'ytmanager-delete-playlist'),
    (r'^playlists/delete-duplicates/$',
            'mcyoutube.views.delete_playlist_duplicates',
            {},
            'ytmanager-delete-playlist-duplicates'),
)