Waitress runs fine on Windows; just install with pip.

On Tuesday, 2 September 2014 13:51:28 UTC+2, Tom Evans wrote:
>
> On Tue, Sep 2, 2014 at 12:08 PM, DJ-Tom <event...@gmail.com <javascript:>> 
> wrote: 
> > Most likely the docs refer to this section of wsgi.py: 
> > 
> >> # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This 
> >> breaks 
> >> # if running multiple sites in the same mod_wsgi process. To fix this, 
> use 
> >> # mod_wsgi daemon mode with each site in its own daemon process, or use 
> >> # os.environ["DJANGO_SETTINGS_MODULE"] = "spcmanage.settings" 
> > 
> > 
> > But I already have set this in wsgi.py: 
> > os.environ.setdefault("DJANGO_SETTINGS_MODULE", "app.settings") 
> > 
> > Daemon mode is not possible as this is only available in NON-Windows 
> > environments. 
> > 
> > So I'm still stuck with this. I did quite a lot of search for this but 
> > apparently nobody knows an answer that actually works. 
> > 
>
> The most obvious and simple solution is to not use Windows. Whilst 
> lots of open source software does work on Windows (to some extent), 
> almost all of it is not developed, designed or targeted for Windows. 
> Using Windows will make your life harder, not easier (I've never had 
> to track down specific binary versions of a python package, for 
> instance). 
>
> The next most simple solution is to not use mod_wsgi, use 
> mod_proxy_http to proxy to a standalone http server that runs django 
> in its own wsgi container. Again, your problem here is finding one 
> that runs well on Windows. uWSGI apparently supports it via Cygwin... 
>
> Cheers 
>
> Tom 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/97edcc5d-ee32-4ff3-843a-ec3c8866c530%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to