Troubleshooting¶
- No settings configured: set
DJANGO_SETTINGS_MODULEor configureEDGE_ISR. - Redis errors: check
REDIS_URLand connectivity. - Headers missing: ensure middleware is installed and decorator applied; check for other middlewares overriding
Cache-Control. - CDN not purging: verify credentials/zone/distribution and that you’re purging exact URLs.
- Tests fail with “No module named 'tests'”: run
python -m pytestor ensure PYTHONPATH includes repo root.