urls.py 464 Bytes
Newer Older
1
# -*- coding: utf-8 -*-
2
from django.conf.urls import url
Daniel STAN's avatar
Daniel STAN committed
3 4 5

import views

6
urlpatterns = [
Daniel STAN's avatar
Daniel STAN committed
7 8
    url('^$', views.index, name="index"),
    url('^edit/$', views.edit, name="edit"),
9
    url('^delete/$', views.delete, name="delete"),
10 11
    url('^book/$', views.book, name="book"),
    url('^book/download$', views.book, {'download': True}, name="book_download",),
12
    url('^history/$', views.history, name="history"),
Daniel STAN's avatar
Daniel STAN committed
13
    url('^history/(?P<page>[0-9]+)$', views.history),
14
]