[Answer]-DatabaseError: current transaction is aborted, commands ignored until end of transaction block – in incognite mode but no error in normal

1👍

You see in incognito mode, chrome automatically delete cookie files, while django session mechanism store session id and csrf token in cookie.

You can’t use standart django session mechanism with deleting cookie. But there is some methods to implement session without cookie.

Leave a comment