Hi,
You shouldn't be doing that at all. If you want the file to be accessable
you need to include it in your media folder in the project - that's per
design.
The way django (and all other frameworks) work is to make sure that only
the items present in the application should be allowed. Even if yo
I am new to Django and trying to access binary file which is outside
project folder and open it in the browser.
When i try to do that it is saying Cross-Origin Request is blocked (Reason:
CORS header 'Access-Control-Allow-Origin missing).
Somebody, please help on this.
--
You received this me
2 matches
Mail list logo