--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CABD5YeFnd0p5WmaLsePKzbeO_pR4xrZ5cE7%2BVgfhzHyjgB7uTw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/8d09195c-b15a-4d1c-9f5c-277b5af2df3cn%40googlegroups.com.
Hi UriYou implied it, but to make it explicit - Django 3.1 allows setting the value "None" (string) for samesite cookies: https://docs.djangoproject.com/en/dev/releases/3.1/#django-contrib-sessions . Essentially you're asking for a backport of this feature.
I think a backport is probably reasonable if sites are broken. You didn't write in your ticket in what way SameSite=Lax breaks your sites - can you explain the use cases you need SameSite=None for?
(The workaround is in this comment: https://github.com/django/django/pull/11894#issuecomment-577681440 , and if you want, a package: https://github.com/jotes/django-cookies-samesite )
| if samesite.lower() not in ('lax', 'strict'): | ||
| raise ValueError('samesite must be "lax" or "strict".') | ||
| if samesite.lower() not in ('lax', 'none', 'strict'): | ||
| raise ValueError('samesite must be "lax", "none", or "strict".') |
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/8d09195c-b15a-4d1c-9f5c-277b5af2df3cn%40googlegroups.com.
It's not about the number of lines but about our backporting policy. We don't backport new features. Moreover Django 2.2 and 3.0 are in extended support. Per our backporting policy this means it doesn't qualify for a backport.