CORS_ALLOWED_ORIGINS = [ "http://localhost:5173", "http://127.0.0.1:5173", ] CSRF_TRUSTED_ORIGINS = [ 'http://localhost:8001', 'http://127.0.0.1:8001', ]