This problem is solved, the solution was in the browser cache.
But for others, please kindly aware of this.
I was turning this on
That was somehow affected the cache.
Everytime I ran py manage.py runserver to
127.0.0.1:8000, I got infinite loading, since localhost is http://
I knew this after I cleared the cache, and now it works like normal (please aware that you need to clear cache from browser setting, not by using ctrl+f5, it didn't work though).
Below is my clear explanation about the case before I got the solution.
--------------------------------
I'm using :
windows 10
vscode
django 3.1
python 3.8.5
chrome latest version
I ran
"py manage.py runserver"
as always,
All was working smoothly like no problems last week.
But suddenly (I don't know exactly when, because I'm working in some projects),
127.0.0.1:8000 became inaccessible (infinite loading) for this certain project (one of my project).
So I have to change it to localhost:8000
, and it works.
(white screen means working).
I didn't changed any major codes.
Or maybe I did something that I didn't realized was the cause of the problem. But production seems fine.
I tried in many browsers like chrome, edge, firefox. still same issue.
-----------------------------------------------
My new problem now is,
I'm using heroku, django 3.1, python 3.8.5
Like problem in this link, I've tried the solution, but not working for me.
Please kindly help, this sitemap.xml problem got me months of wonder.
Thanks