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

2 years ago
2 years ago
  1. from django.urls import include, path
  2. from .views import Me, UserCreation, Users
  3. urlpatterns = [
  4. path(route="me", view=Me.as_view(), name="me"),
  5. path(route="users", view=Users.as_view(), name="user_list"),
  6. path(route="users/create", view=UserCreation.as_view(), name="user_create"),
  7. path("auth/", include("dj_rest_auth.urls")),
  8. ]