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.

18 lines
314 B

  1. from django.urls import include, path
  2. from .views import Me, Users
  3. urlpatterns = [
  4. path(
  5. route='me',
  6. view=Me.as_view(),
  7. name='me'
  8. ),
  9. path(
  10. route='users',
  11. view=Users.as_view(),
  12. name='user_list'
  13. ),
  14. path('auth/', include('dj_rest_auth.urls')),
  15. ]