blob: 396cfba133fa60f0b0f449bf5f6fedb2c3f553f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
[ "$1" = python3-django-cors-headers ] || exit 0
python3 - << 'EOF'
import corsheaders
from corsheaders.middleware import CorsMiddleware
from corsheaders.conf import conf
assert CorsMiddleware is not None
assert conf is not None
print("python3-django-cors-headers OK")
EOF
|