from django.urls import path
from . import views
from . views import UsersLoginView

urlpatterns = [
    path('register/', views.register),
    path('profile/',views.profile),
    # path('login/', views.login),
    path('login/', UsersLoginView.as_view(), name='obtain_token'),
    path('token/refresh/',views.refresh,name='refresh_token'),
    # path('token/verify/',MyTokenVerifyView.as_view(),name='verify_token')
    # path('token/delete/',TokenCookieDeleteView.as_view(), name='token_delete')
]

0000c0c5454229c480bee1bbdafe67c7544ddb48
<mask token>

<mask token>
urlpatterns = [path('register/', views.register), path('profile/', views.
    profile), path('login/', UsersLoginView.as_view(), name='obtain_token'),
    path('token/refresh/', views.refresh, name='refresh_token')]

from django.urls import path
from . import views
from .views import UsersLoginView
urlpatterns = [path('register/', views.register), path('profile/', views.
    profile), path('login/', UsersLoginView.as_view(), name='obtain_token'),
    path('token/refresh/', views.refresh, name='refresh_token')]

from django.urls import path
from . import views
from . views import UsersLoginView

urlpatterns = [
    path('register/', views.register),
    path('profile/',views.profile),
    # path('login/', views.login),
    path('login/', UsersLoginView.as_view(), name='obtain_token'),
    path('token/refresh/',views.refresh,name='refresh_token'),
    # path('token/verify/',MyTokenVerifyView.as_view(),name='verify_token')
    # path('token/delete/',TokenCookieDeleteView.as_view(), name='token_delete')
]
