feat [both]: authentication
This commit is contained in:
parent
42fd29ce95
commit
04fedf7985
10 changed files with 178 additions and 4 deletions
|
@ -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')),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue