Установка сеанса входа для поддомена из основного домена в Django

I have a main domain example.com and a subdomain tenant.example.com. A user comes to http://example.com/login and logs In, By default, Django set a session cookie for example.com.

What I want is that Django set the session cookie for tenant.example.com instead of example.com.

Как я могу это реализовать?

Вернуться на верх