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.
 
 
 
 
 
 

10 lines
348 B

from django.urls import include, path
from .views import Me, UserCreation, Users
urlpatterns = [
path(route="me", view=Me.as_view(), name="me"),
path(route="users", view=Users.as_view(), name="user_list"),
path(route="users/create", view=UserCreation.as_view(), name="user_create"),
path("auth/", include("dj_rest_auth.urls")),
]