[Fixed]-500 Internal Server Error – Misconfigured Website

1👍

I believe you have your middleware in the wrong order.

Try putting your session middleware BEFORE your auth middleware (error in your logs indicates this problem).

The Django documentation covers middleware ordering as well.

Leave a comment