diff options
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'), ) |