django-cors-headersEasy Playground

Handle CORS headers in Django applications

Getting started with django-cors-headersRun locally
Install
pip install django-cors-headers
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: django_cors_headers)

django-cors-headers is a third-party package. Handle CORS headers in Django applications. Install with: pip install django-cors-headers

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?