This application provides management of Flash cross-domain access policies for Django sites. For example, the following URL pattern is all you’d need to set up cross-domain access for Flash files served from your media server:
from django.urls import path
from flashpolicies.views import allow_domains
urlpatterns = [
# ...your other URL patterns here...
path(
'crossdomain.xml',
allow_domains,
{'domains': ['media.example.com']}
),
]
Various other views are included, handling other common and not-so-common cases, as well as utilities for generating custom cross-domain policies.
Full documentation for all functionality is also included and available online.
Release files for django-flashpolicies 1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-flashpolicies-1.14.tar.gz | 25.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_flashpolicies-1.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.4 kB
Release files / django-flashpolicies-1.14.tar.gz
| Download URL | django-flashpolicies-1.14.tar.gz |
|---|---|
| Size | 25.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29c38b1eb291fa3d24cb123637cbf8f3ea712078fbba1441a68cdb49d8c439e0
|
|
BLAKE2b-256 checksum How to use checksums |
0b2d1587218b807f21b1a7713357ef507a38535ccc003274a491ff18972a06c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4
|
Release files / django_flashpolicies-1.14-py3-none-any.whl
| Download URL | django_flashpolicies-1.14-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3eadda165116dcf5bae47acb09db14a6967107fc98a904055725bca5390fe508
|
|
BLAKE2b-256 checksum How to use checksums |
8dc02cc90a84c4a1fda2f3b3cdeac3015d39b213ca6fd90d9de1e19f3930c606
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4
|