diff options
author | hardythe1 | 2013-11-08 12:25:43 +0530 |
---|---|---|
committer | hardythe1 | 2013-11-08 12:25:43 +0530 |
commit | 5c96aba148286bb3989592701dc47d3c46563891 (patch) | |
tree | 10b8b174bce6331bfb92e4c583e3ca1267ce4eb3 /tbc/urls.py | |
parent | 76e013fd4efe5a5262243d4ac10445a1a5d4b1ad (diff) | |
download | Python-TBC-Interface-5c96aba148286bb3989592701dc47d3c46563891.tar.gz Python-TBC-Interface-5c96aba148286bb3989592701dc47d3c46563891.tar.bz2 Python-TBC-Interface-5c96aba148286bb3989592701dc47d3c46563891.zip |
adding reviewer interface
Diffstat (limited to 'tbc/urls.py')
-rw-r--r-- | tbc/urls.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tbc/urls.py b/tbc/urls.py index 72edc06..4e75389 100644 --- a/tbc/urls.py +++ b/tbc/urls.py @@ -9,9 +9,13 @@ urlpatterns = patterns('', url(r'^logout/$', 'tbc.views.UserLogout', name='UserLogout'), url(r'^profile/$', 'tbc.views.UserProfile', name='UserProfile'), url(r'^submit-book/$', 'tbc.views.SubmitBook', name='SubmitBook'), - url(r'^upload-chapters/$', 'tbc.views.ChapterUpload', name='ChapterUpload'), + url(r'^upload-content/$', 'tbc.views.ContentUpload', name='ContentUpload'), url(r'^get-zip/(?P<book_id>\d+)$', 'tbc.views.GetZip', name='GetZip'), - url(r'^upload-images/$', 'tbc.views.ImageUpload', name='ImageUpload'), + #url(r'^upload-images/$', 'tbc.views.ImageUpload', name='ImageUpload'), url(r'^browse-books/$', 'tbc.views.BrowseBooks', name='BrowseBooks'), + url(r'^browse-books/(?P<category>.+)$', 'tbc.views.BrowseBooks', name='BrowseBooks'), + url(r'^book-review/$', 'tbc.views.BookReview', name='BookReview'), + url(r'^book-review/(?P<book_id>\d+)$', 'tbc.views.BookReview', name='BookReview'), + url(r'^approve-book/(?P<book_id>\d+)$', 'tbc.views.ApproveBook', name='ApproveBook'), url(r'^book-details/(?P<book_id>\d+)/$', 'tbc.views.BookDetails', name='BookDetails'), ) |