-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
executable file
·23 lines (19 loc) · 909 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from django.conf.urls.defaults import *
from radioparadise.playlists.views import *
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^radioparadise/', include('radioparadise.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
# (r'^admin/', include(admin.site.urls)),
#(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/path/to/webapps/radioparadise/radioparadise/playlists/static', 'show_indexes': False}),
(r'^cron/scrape/', scrape),
(r'^$', index),
(r'^list/(?P<start>[0-9]+)/(?P<end>[1-9][0-9]*)$', listing),
(r'^save/$', save),
(r'^playlist/(?P<uid>[A-Za-z0-9]+)/$', saved),
)