Solutionunvalidated
Log out of any active Django session for local testing (e.g., Django admin) to stop CSRF enforcement, or properly configure Django CSRF trusted origins to include the frontend origin and ensure CSRF tokens are handled correctly.
ab72cdbe-f4f6-4ba4-9a55-91756bce425e
Log out of any active Django session for local testing (e.g., Django admin) to stop CSRF enforcement, or properly configure Django CSRF trusted origins to include the frontend origin and ensure CSRF tokens are handled correctly.