Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
browser shows page that I dont have
I am just flummoxed.
I started the web having just 1 single view in my views.py page, with one line to see if everything was working, namely:
from django.http import HttpResponse
return HttpResponse(‘Hello, World!’)
so a few days after I return, I delete that code and paste a different one
return render(request, 'home.html’, name='home’)
and now that home.html page is located in a directory called templates, and has just an html table and yes, I have modified settings.py to indicate where that templates directory is
Well, when I go the webpage,I am still seeing the hello world, and is a code that does not exist anymore.
Of course, nothing to do with cookies or browser cache, because apart from having deleted all browsing data, I tried different computers, different browsers, I even shot up Tor that I had never used before.
I am still seeing the hello world. This is incredible.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×