routing for auth

This commit is contained in:
Pratyush Desai 2022-01-08 05:25:14 +05:30
parent 18b063713e
commit 17f5199fa1
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -20,3 +20,7 @@ urlpatterns = [
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
path('', include('snippets.urls')), path('', include('snippets.urls')),
] ]
urlpatterns += [
path('api-auth/', include('rest_framework.urls')),
]