myproject/wsgi.py vs. myproject.wsgi?
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.
..........
Stupid questions:
1.
How are these two related (myproject.wsgi and wsgi.py)?
2.
Does one replace the other?
3.
Do I still need a myproject.wsgi? If yes: How do, or should, I
"connect" the two file so that they work together?
..........
I think I just need a more simple explanation of how to utilize one,
or both, files (well, I already have an OK understanding of
myproject.wsgi, but myproject/wsgi.py confuses me).
Many thanks in advance, I really appreciate the help. :)
M
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home