summaryrefslogtreecommitdiff
path: root/website/urls.py
blob: 5a13bb4ffd5f7aab758a22d65bfafcf8ed276ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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'),
    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'),
    path('search_in_code/', views.solr_search_string, name='solr_search_string'),
    path('check_server/', views.checkserver, name='checkserver'),
]