LoginSignup
0
0

More than 3 years have passed since last update.

Your version of Django supports SameSite flag in the cookies mechanism. You should remove django-cookies-samesite from your project.

Posted at

背景

Chrome80に対応するため、SameSite=Noneの明記をしたい。

pip install django-cookies-samesite ではダメだった。

参考:https://webty.jp/staffblog/production/post-2629/

参考ページに沿って、django-cookies-samesiteを設定してみたところ、以下のエラーに遭遇。

DeprecationWarning at /
Your version of Django supports SameSite flag in the cookies mechanism. You should remove django-cookies-samesite from your project.

ちなみにDjangoのバージョンは、Django2.2

0
0
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
0
0