On 25-03-12 08:04, Micky Hulse wrote:
Hello,
This is is probably a silly question, but...
I just installed a fresh copy of Django 1.4 (mod_wsgi 3.3/Python 2.7)
on my WebFaction server.
In 1.3, the command startproject (IIRC) generated a myproject.wsgi
that lived next to myporject folder.
In the 1.4 installer, the wsgi file is no longer generated and there's
the new myproject/wsgi.py file.
I have read the docs (and Googled around a little bit) but I don't
fully understand wsgi.py does.
In 1.3, there was no wsgi file. So either you added it yourself or
webfaction automatically adds it.
1.4 started adding that wsgi.py file. It should be a drop-in replacement
for the one you have now, basically.
(Only thing to watch out for: wsgi.py hardcodes settings.py, so if you
want to use a productionsettings.py or so you should take a good hard look).
Reinout
--
Reinout van Rees http://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.