Referer Header / Cross reference

Someone know how i can fix this?

You are seeing this message because this HTTPS site requires a 'Referer header' to be sent by your Web browser, but none was sent. This header is required for security reasons, to ensure that your browser is not being hijacked by third parties.

If you have configured your browser to disable 'Referer' headers, please re-enable them, at least for this site, or for HTTPS connections, or for 'same-origin' requests.

Then when i set the header

Forbidden (403)
CSRF verification failed. Request aborted.
More information is available with DEBUG=True.