from django.conf.urls import patterns, include, url urlpatterns = patterns('', url(r'^$', 'tbc.views.Home', name='Home'), url(r'^internship-forms/$', 'tbc.views.InternshipForms', name='InternshipForms'), url(r'^about-pythontbc/$', 'tbc.views.AboutPytbc', name='AboutPytbc'), url(r'^register/$', 'tbc.views.UserRegister', name='UserRegister'), url(r'^login/$', 'tbc.views.UserLogin', name='UserLogin'), url(r'^logout/$', 'tbc.views.UserLogout', name='UserLogout'), url(r'^profile/$', 'tbc.views.UserProfile', name='UserProfile'), url(r'^forgot-password/$', 'tbc.views.ForgotPassword', name='ForgotPassword'), url(r'^update-password/$', 'tbc.views.UpdatePassword', name='UpdatePassword'), url(r'^submit-proposal/$', 'tbc.views.SubmitProposal', name='SubmitProposal'), url(r'^submit-book/$', 'tbc.views.SubmitBook', name='SubmitBook'), url(r'^submit-sample/$', 'tbc.views.SubmitSample', name='SubmitSample'), url(r'^submit-sample/(?P\d+)$', 'tbc.views.SubmitSample', name='SubmitSample'), url(r'^update-book/$', 'tbc.views.UpdateBook', name='UpdateBook'), url(r'^upload-content/(?P\d+)$', 'tbc.views.ContentUpload', name='ContentUpload'), url(r'^update-content/(?P\d+)$', 'tbc.views.UpdateContent', name='UpdateContent'), url(r'^get-zip/(?P\d+)$', 'tbc.views.GetZip', name='GetZip'), url(r'^browse-books/$', 'tbc.views.BrowseBooks', name='BrowseBooks'), url(r'^browse-books/(?P.+)$', 'tbc.views.BrowseBooks', name='BrowseBooks'), url(r'^convert-notebook/(?P.+)$', 'tbc.views.ConvertNotebook', name='ConvertNotebook'), url(r'^book-details/(?P\d+)/$', 'tbc.views.BookDetails', name='BookDetails'), url(r'^book-review/$', 'tbc.views.BookReview', name='BookReview'), url(r'^proposal-review/$', 'tbc.views.ReviewProposals', name='ReviewProposals'), url(r'^proposal-review/(?P\d+)/(?P\d+)$', 'tbc.views.ReviewProposals', name='ReviewProposals'), url(r'^disapprove-sample-notebook/(?P\d+)$', 'tbc.views.DisapproveProposal', name='DisapproveProposal'), url(r'^reject-proposal/(?P\d+)$', 'tbc.views.RejectProposal', name='RejectProposal'), url(r'^book-review/(?P\d+)$', 'tbc.views.BookReview', name='BookReview'), url(r'^approve-book/(?P\d+)$', 'tbc.views.ApproveBook', name='ApproveBook'), url(r'^notify-changes/(?P\d+)$', 'tbc.views.NotifyChanges', name='NotifyChanges'), )