PyDev: Django\", and it takes several times to update it...." />
开发者

eclipse, django, pydev - slow update with the script?

It's weird. Let say I make a minor change in my view or urls file. I do "Run as -> PyDev: Django", and it takes several times to update it....

and most of the time I have keep doing it.... I cleaned the cache and all that, but doesn't help.

I am using the development server, anyone has experience in this?

Thanks!!


Edit It seems like the only work-around for me is to run manag开发者_如何学JAVAe.py startserver via the shell


Actually, PyDev has something builtin to ease in that.

See: http://pydev.org/manual_adv_django.html (in the end of the page) for a solution which allows you to have debug with auto-reload and a way to see in a shell even when it's executed from PyDev.


I've had issues with stray python processes using PyDev + django's runserver in auto-reload mode. For that reason I always run using the --noreload option and restart the process each time I make a change.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜