Consider you should not use absolute path in your request. Place your file
in your static folder. Request the file relative to this static location.
This would be similar to requesting other resources, such as css and js
files...like this:
{% load staticfiles i18n %}
or in javascript:
const
Hi Team,
I am making quiz app, for which i wrote a function in view which will
generate the json file and place it under the same location as of my all
teamplates (C:/Desktop/Environment/envQuiz/quizsetup/templates/quizsetup)
Now I am trying to read this json file in my HTML page via javascript
2 matches
Mail list logo