urls.py 319 Bytes
Newer Older
alexandre's avatar
alexandre committed
1 2
from django.conf.urls import url

alexandre's avatar
alexandre committed
3
from playground.views import ScoreDetailView, ScoreListView, SandboxView
alexandre's avatar
alexandre committed
4 5 6 7


urlpatterns = [
    url(r'^sandbox/$', SandboxView.as_view(), name='sandbox'),
alexandre's avatar
alexandre committed
8
    url(r'^score/', ScoreDetailView.as_view(), name='score-detail'),
alexandre's avatar
alexandre committed
9
    url(r'^$', ScoreListView.as_view(), name='score-list'),
alexandre's avatar
alexandre committed
10
]