Note that there are some explanatory texts on larger screens.

plurals
  1. POWhich webserver to use with Django? (updated for use in 2011)
    primarykey
    data
    text
    <p>I am asking this question because I am a beginner and I've read almost 90% of articles speaking about Django, but the problem is: Django was made and had problems for deploying, it is python, and python is not PHP! When reading Django tutorials, a beginner is in big problem, because he can find a tutorial "outdated" for example if you take a tutorial made in 2008 you'll see that they speak like the following:</p> <blockquote> <p>to deploy django, use apache, and dont forget to use another server for static files, for example nginx as a reverse proxy!</p> </blockquote> <p>But now, I found some articles saying that making a second server is useless because in the past, Django was served using mod_python which uses a lot of resources! So here is my question:</p> <ol> <li>Which one is the best for VPS, Apache or Nginx, using the latest release of course! Please dont say: use lighty or cherokee... </li> <li>If, for example, the answer was: use Ngnix, then, is it better to use one server or two, as in the past it was better to make two webservers? </li> <li>When I've checked my brain, I've found that there is only few free space avalaible, so I don't want to learn something else, so do you think a 100% pythonic solution will be ok? CherryPy does it be a perfect solution, mean, CherryPy + Django and basta! no Apache, no Nginx, no more learning than python language!</li> <li>From what I've read, Django and asynchronous servers are not "good friends", so does really get a good choise to use Nginx?</li> </ol> <p>Updated: added (4) about Django and asynchronous. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload