Flash cross-domain policies for Django sites
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-flashpolicies-1.12.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 002be6d4c3dce921eb20a663578bd65835586d550be41590671f71dcc916f301 |
|
MD5 | e616a2c5e915396edf42c4bc652c24bd |
|
BLAKE2b-256 | 4422085b5b347f05933975152d433a03d21e12a73a2ba326483ad2e7a4bb9fb3 |
Close
Hashes for django_flashpolicies-1.12.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b69b37aafb23827616f1cdcaba59b45a9a54e2256960cfb7a0afd8e9c023bc98 |
|
MD5 | 462d483054b66eacb2248d0738657e54 |
|
BLAKE2b-256 | f192e8608ae9b7c158f56f419d9ac02db11519d009261547e168c08463da30f8 |