12 lines
364 B
Python
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'),
|
|
]
|