How to serve Django for an Electron app : <p>I'm trying to create an <a href="https://electron.atom.io" rel="noreferrer">Electron</a> desktop app which has a <a href="https://www.djangoproject.com" rel="noreferrer">Django</a> application at its backend. There are several tutorials and blogs which mention how this can be achieved. I've tried those and it seems to be working, however there are some issues. </p>

<p>One of them for me is how to server Django in this case? For me the current way of doing it creates some unwanted delay making the app slow to start...</p>

<p>Generally, what needs to be done to create an Django/Electron app is to package (I'm using <a href="http://www.pyinstaller.org" rel="noreferrer">pyInstaller</a>)the Django app into an stand-alone executable and then bundle that into an Electron app. The question is which server should be used for this case to server Django before packaging it with pyInstaller? At the moment I'm using <a href="http://cherrypy.org" rel="noreferrer">cherryPy</a> as a WSGI web server to serve Django. </p>

<p>However - is there a better alternative knowing that this will be used in an Electron desktop app?  Maybe something faster, or more suitable for this task? What is the typical way of handling Django in this case? </p>
