You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
799 B
20 lines
799 B
from library import views, api
|
|
from django.conf.urls import url
|
|
|
|
|
|
urlpatterns = [
|
|
url(r'articles/', views.articles),
|
|
url(r'article/(?P<slug>.*)/$', views.article),
|
|
url(r'unset_favorite/$', api.unset_favorite),
|
|
url(r'set_favorite/$', api.set_favorite),
|
|
url(r'check_favorite/$', api.check_favorite),
|
|
url(r'get_comments_length/$', api.get_comments_length),
|
|
url(r'sent_comment/$', api.sent_comment),
|
|
url(r'load_comments/$', api.load_comments),
|
|
url(r'unset_like/$', api.unset_like),
|
|
url(r'set_like/$', api.set_like),
|
|
url(r'refresh_like/$', api.refresh_like),
|
|
url(r'get_articles_length/$', api.get_articles_length),
|
|
url(r'get_random_article/$', api.get_random_article),
|
|
url(r'get_all_views_length/$', api.get_all_views_length)
|
|
]
|
|
|