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
254 B

2 years ago
  1. from django.urls import include, path
  2. from .views import Me, 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("auth/", include("dj_rest_auth.urls")),
  7. ]