After changing the view function without starting the server, press F5 again to refresh the page, Django will not reload the new view, but use the previous one. but if you change the template, Django always uses the new one.
So, is there a way to get Django to reload the view every time the user refreshes the page, I think it is very convenient for development to change the view function often.
storm source
share