Thanks for the great piece of work!
Don't you plan to add a production Web-server like nginx or Apache to the project?
It'd be great to have a self-contained and real production environment. What do you think? Is it possible?
Sorry for the late reply. Your suggestion a totally possible. Actually, before I wrote the blog, I have deployed a Django application in docker engine installed in CentOS and added nginx container to handle the entry.
However, later, I found that my company blocked the external access of the server and I need to change the web application to desktop application and install it in user PCs, which are Windows.
That's why I used pyinstaller.
Thanks for the answer. Currently I'm developing a Django project. I plan to deploy it with pyInstaller but then I'll pack the resulting .EXE along with nginx web-server using the regular Inno Setup, a free installer for Windows. It's quite flexible, I hope, I'll manage to solve all the issues on my way ;)