1
2

More than 3 years have passed since last update.

django restframeworkでログイン

Posted at

プロジェクトレベルのurlで
最下部追加

urlpatterns = [
    path('admin/', admin.site.urls),
     ....
    path('api-auth/', include('rest_framework.urls')),

/api-auth/login
でログインできる

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2