Lotechnica

Technical writings by Nathan Shafer

Articles with the django tag

Fix Django's runserver when run under Docker or PyCharm

When running Django's runserver management command in a Docker container or under a PyCharm run configuration (in Linux at least), I very often had issues with the process not getting killed in a timely manner. The symptom is that the process doesn't die immediately after it receives a SIGTERM or … Read more