Django app can not find json file in the same directory
if you need to see the JSON file via browser, you need to put it in the static folder.
My json file is in the same directory of view.py file.
However, when I open the html in browser, the IO error happens.
When I run view.py through pycharm, it works fine.
The JSon file is a database configuretion file. I want to display some data from the databse in that case I need to connect to database first.