urls.py 228 Bytes
Newer Older
Joost Rijneveld's avatar
Joost Rijneveld committed
1
2
3
4
from django.conf.urls import url

from . import views

5
6
app_name = "thabloid"

Joost Rijneveld's avatar
Joost Rijneveld committed
7
8
9
10
urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^viewer/(?P<year>[0-9]{4})/(?P<issue>[0-9]+)/$', views.viewer, name='viewer'),
]