feat [both]: authentication

This commit is contained in:
Alice 2022-12-25 23:52:43 +01:00
parent 42fd29ce95
commit 04fedf7985
10 changed files with 178 additions and 4 deletions

View file

@ -12,5 +12,5 @@ router.register(r"tmdb", TmdbViewSet, "tmdb")
# Additionally, we include login URLs for the browsable API.
urlpatterns = [
path("", include(router.urls)),
path("api-auth/", include("rest_framework.urls", namespace="rest_framework")),
path('auth/', include('dj_rest_auth.urls')),
]