how to add Access-Control-Allow-Origin' header in python django code example
Example: Access-Control-Allow-Origin django
CORS_ORIGIN_WHITELIST = (
'google.com',
'hostname.example.com'
)
CORS_ORIGIN_WHITELIST = (
'google.com',
'hostname.example.com'
)