Add jwt logout view
This commit is contained in:
parent
4eb22bd0b8
commit
13b4478911
2 changed files with 17 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
from django.urls import path
|
||||
|
||||
from .views import ProfileView
|
||||
from .views import ProfileView, LogoutView
|
||||
|
||||
urlpatterns = [
|
||||
path("logout/", LogoutView.as_view(), name="logout"),
|
||||
path("profile/", ProfileView.as_view(), name="profile"),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue