This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2016-04-02 15:11:03 +02:00

12 lines
374 B
Python

from django.conf.urls import url
from oliver_screen.api import LastTrackView, CurrentTrackView
from oliver_screen.views import IndexView
urlpatterns = [
url(r'^$', IndexView.as_view(), name='index'),
# API
url(r'^api/track/last/', LastTrackView.as_view(), name='track-last'),
url(r'^api/track/current/', CurrentTrackView.as_view(), name='track-current')
]