nginx - Why does the data in views.py not change when django modifies it?
漂亮男人
漂亮男人 2017-05-16 17:26:51
0
1
489

django I built using nginx flup

I modified the data in views.py, but for some reason there was no change in the frontend. The debug mode was on, but there was a change if I modified the template.
Even after adding a new route, it is not recognized. I don’t know why. Do I need to restart the server?
God asks for solution

漂亮男人
漂亮男人

reply all(1)
大家讲道理

Django will automatically load after modifying the code. Generally, there is no need to restart. What this refers to is python manager.py不是nginx. A log will be generated during the automatic hot loading process. I suggest you post it!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template