[Django]-Multiple Django sites on the same domain – CSRF fails

6👍

The CSRF token cookie is named csrftoken by default, but you can control the cookie name via the CSRF_COOKIE_NAME setting. Docs.

Use a different CSRF cookie name for each app.

👤Joseph

Leave a comment