summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2020-01-01 18:23:07 +0530
committerprashantsinalkar2020-01-01 18:23:07 +0530
commit4aa8cf3dc790e445f5ebf52985c68449c8f035d3 (patch)
tree33b82add664579942054b3c5d705b2e8842bcac1
parentda2dbe899c90a77372a62c7795d4a0f4f15742a3 (diff)
downloadR_on_Cloud_Web_Interface-4aa8cf3dc790e445f5ebf52985c68449c8f035d3.tar.gz
R_on_Cloud_Web_Interface-4aa8cf3dc790e445f5ebf52985c68449c8f035d3.tar.bz2
R_on_Cloud_Web_Interface-4aa8cf3dc790e445f5ebf52985c68449c8f035d3.zip
updated the urls
-rw-r--r--website/urls.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/website/urls.py b/website/urls.py
index 127cf09..ba1d17b 100644
--- a/website/urls.py
+++ b/website/urls.py
@@ -7,7 +7,7 @@ urlpatterns = [
path('', views.index, name='index'),
path('index', views.index, name='index'),
path('get_subcategories/', ajax.subcategories,
- name='subcategories'),
+ name='subcategories'),
path('get_books/', ajax.books, name='books'),
path('get_chapters/', ajax.chapters, name='chapters'),
path('get_examples/', ajax.examples, name='examples'),
@@ -15,7 +15,10 @@ urlpatterns = [
path('get_code/', ajax.code, name='code'),
path('get_diff/', ajax.diff, name='diff'),
path('update_view_count/', views.update_view_count,
- name='update_view_count'),
+ name='update_view_count'),
path('get_contributor/', ajax.contributor, name='contributor'),
path('reset/', views.reset, name='reset'),
- ]
+ path('search_book/', views.search_book, name='search_book'),
+ path('search_book/popular/', views.popular, name='popular'),
+ path('search_book/recent/', views.recent, name='recent'),
+]