diff options
Diffstat (limited to 'website/urls.py')
-rw-r--r-- | website/urls.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/website/urls.py b/website/urls.py index c98f65b..127cf09 100644 --- a/website/urls.py +++ b/website/urls.py @@ -1,8 +1,21 @@ 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'), + path('get_contributor/', ajax.contributor, name='contributor'), + path('reset/', views.reset, name='reset'), ] |