Hello Edward, this is already packaged:
https://tracker.debian.org/pkg/django-cors-headers Regards Carsten Am Mon, Mar 16, 2026 at 03:52:48PM +0000 schrieb Edward Betts: > Package: wnpp > Severity: wishlist > Owner: Edward Betts <[email protected]> > > * Package name : django-cors-headers > Version : 4.9.0 > Upstream Author : Otto Yiu <[email protected]> > * URL : https://github.com/adamchainz/django-cors-headers > * License : MIT > Programming Lang: Python > Description : Cross-Origin Resource Sharing header handling for Django > > This library adds and manages Cross-Origin Resource Sharing (CORS) headers > on > Django responses so that web browsers can make requests to a Django site > from > a different origin when that origin is permitted. > . > It handles both ordinary cross-origin requests and CORS preflight requests. > Configuration can allow specific origins, origins matched by regular > expressions, or all origins. It can also limit CORS handling to selected URL > paths, control which HTTP methods and request headers are accepted, and > declare which response headers may be exposed to browser code. > > This is a dependency of pygeoapi, a Python server implementation of the OGC > API suite of standards. > > I plan to maintain this package as part of the Python team.

