X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/26ae84cfef946f135a2b2ea91e6af4dd05048750..bbf9e601991d5d90ed55ee9d5c9d3018afc95d3a:/src/api/urls.py diff --git a/src/api/urls.py b/src/api/urls.py index b0ee94def..5b1942c3a 100644 --- a/src/api/urls.py +++ b/src/api/urls.py @@ -10,8 +10,15 @@ from . import views urlpatterns1 = [ - path('login/', csrf_exempt(views.LoginView.as_view())), + path('register/', csrf_exempt(views.RegisterView.as_view())), + path('refreshToken/', csrf_exempt(views.RefreshTokenView.as_view())), + path('requestConfirm/', csrf_exempt(views.RequestConfirmView.as_view())), + path('login/', csrf_exempt(views.Login2View.as_view())), + path('me/', views.UserView.as_view()), path('', include('catalogue.api.urls2')), + path('', include('social.api.urls2')), + path('', include('bookmarks.api.urls')), + path('', include('search.api.urls')), ]