1
0
Fork 0
IdreXyz/label/urls.py
2017-08-15 15:26:32 +02:00

12 lines
364 B
Python

from django.conf.urls import url
import label.views
urlpatterns = [
url(r'^artists/$', label.views.artists_view, name='artists'),
url(r'^artists/(?P<slug>\S+)$', label.views.artist_view, name='artist'),
url(r'^releases/$', label.views.releases_view, name='releases'),
url(r'^releases/(?P<tag>\S+)$', label.views.release_view, name='release'),
]