# Path: knox/views.py
# class LoginView(APIView):
# class LogoutView(APIView):
# class LogoutAllView(APIView):
#     def get_context(self):
#     def get_token_ttl(self):
#     def get_token_limit_per_user(self):
#     def get_user_serializer_class(self):
#     def get_expiry_datetime_format(self):
#     def format_expiry_datetime(self, expiry):
#     def get_post_response_data(self, request, token, instance):
#     def post(self, request, format=None):
#     def post(self, request, format=None):
#     def post(self, request, format=None):


from django.urls import path
from knox import views


urlpatterns = [
    path(r'login/', views.LoginView.as_view(), name='knox_login'),
    path(r'logout/', views.LogoutView.as_view(), name='knox_logout'),

# Path: knox/views.py
# class LoginView(APIView):
# class LogoutView(APIView):
# class LogoutAllView(APIView):
#     def get_context(self):
#     def get_token_ttl(self):
#     def get_token_limit_per_user(self):
#     def get_user_serializer_class(self):
#     def get_expiry_datetime_format(self):
#     def format_expiry_datetime(self, expiry):
#     def get_post_response_data(self, request, token, instance):
#     def post(self, request, format=None):
#     def post(self, request, format=None):
#     def post(self, request, format=None):


# Path: knox/urls.py
from django.urls import path
from knox import views



urlpatterns = [
    path(r'login/', views.LoginView.as_view(), name='knox_login'),
    path(r'logout/', views.LogoutView.as_view(), name='knox_logout'),

    path(r'logoutall/', views.LogoutAllView.as_view(), name='knox_logoutall'),