django-debug-toolbar

Why is my cookie not being set?

I'm writing a django login view, that re-uses the generic one to do most of its heavy lifting, but I handle some details afterwards: COMPANY_COOKIE = 'last_login_company_id' def login(request, *args, **kwargs): initial_company_id = request.COOKIES[COMPANY_COOKIE] if COMPANY_COOKIE in request.COOKIES else None def makeCompanyAut...