[Fixed]-How to apply an upgrade python package whithout stop Django server?

1👍

Generally doing a software update to a running service implies some kind of a restart or reload of that service. In many cases, if you force this, it may work for some amount of time but may cause difficult to find bugs; java is infamous for working until the next occasional subroutine (ie, log collection) happens if you upgrade the jdk version in-place like this.

I’m not sure what kind of modules you’re modifying here, but in some cases you might try out https://github.com/django-extensions/django-extensions to see if the manage.py shell_plus autoreload may serve your needs.

Leave a comment