adamchainz/django-cors-headers
Django app for handling the server headers required for Cross-Origin Resource Sharing (CORS) observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 98
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4974
- days_rel: n/a
- days_push: 15
- n_releases_24m: 0
Adoption not part of the score
5587 stars · 552 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Django app that adds Cross-Origin Resource Sharing (CORS) headers to HTTP responses via middleware. It allows in-browser requests to a Django application from other origins with configurable allowed origins, methods, and headers.
Use cases
- enable CORS for a Django REST API consumed by a separate frontend
- allow browser requests to Django from another domain
- configure allowed CORS origins and headers in Django
- fix cross-origin request blocked errors in a Django app
- serve a React or Vue frontend from a different origin than Django
When to choose
- you run a Django backend that browsers on other origins need to call
- you want a mature, well-maintained, configurable CORS solution for Django
When to avoid
- your project does not use Django
- you need CORS handling at a proxy or gateway level rather than in the app
Facets
library · maturity stable
middleware http-server security web-development backend apis security python django cors cross-origin http-headers rest-api web-server
2 sources
- readme: https://github.com/adamchainz/django-cors-headers · fetched 2026-08-28 · 71cc7ea65c6f
- registry_pypi: https://pypi.org/pypi/django-cors-headers/json · fetched 2026-08-29 · a87c5e350e75
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| adamchainz/django-cors-headers | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="adamchainz/django-cors-headers")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem