summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2019-09-07 23:47:54 +0530
committerprashantsinalkar2019-09-07 23:47:54 +0530
commit2fe8087068dda1729115fc245f1fae6796a4363e (patch)
tree1d8509567708129857eedf493c0fe2c6df10c507
parent0c926397cd40f5a424f5e409742d5c472506bbd8 (diff)
downloadR_on_Cloud_Web_Interface-2fe8087068dda1729115fc245f1fae6796a4363e.tar.gz
R_on_Cloud_Web_Interface-2fe8087068dda1729115fc245f1fae6796a4363e.tar.bz2
R_on_Cloud_Web_Interface-2fe8087068dda1729115fc245f1fae6796a4363e.zip
added new urls for get data
-rw-r--r--website/urls.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/website/urls.py b/website/urls.py
index c98f65b..b7b509c 100644
--- a/website/urls.py
+++ b/website/urls.py
@@ -1,8 +1,19 @@
from django.urls import path
from . import views
+from . import ajax
urlpatterns = [
path('', views.index, name='index'),
path('index', views.index, name='index'),
+ path('get_subcategories/', ajax.subcategories,
+ name='subcategories'),
+ path('get_books/', ajax.books, name='books'),
+ path('get_chapters/', ajax.chapters, name='chapters'),
+ path('get_examples/', ajax.examples, name='examples'),
+ path('get_revisions/', ajax.revisions, name='revisions'),
+ 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')
]