5👍
cherrypy includes a good server. Here‘s how you set it up to work with django and some benchmarks.
twisted.web has wsgi support and that could be used to run your django application. Here‘s how you do it.
In fact any wsgi server will do. Here’s one more example, this time using spawning:
$ spawn --factory=spawning.django_factory.config_factory mysite.settings
And for using paste, the info is gathered here.
Of course, you could use apache with mod_wsgi. It would be just another wsgi server. Here are the setup instructions.
1👍
If you want to give Apache a go, check out XAMPP to see if it’ll work for you. You can do a lightweight (read: no installation) “installation.” Of course, you’ll also want to install mod_python to run Django. This post may help you set everything up. (Note: I have not used python/Django with XAMPP myself.)
Edit: Before someone points this out, XAMPP is not generally a production-ready tool. It’s simply a useful way to see whether Apache will work for you. Also, I saw that you’re using SQLite after the fact.
- [Django]-Just upgraded to Django 1.4 and getting error with messages
- [Django]-Change model to inherit from abstract base class without changing DB
- [Django]-Django PDF FileResponse "Failed to load PDF document."
0👍
Why not Apache ?
Nokia have developed a scaled down version of apache to run on their mobile phones. It supports python.
http://research.nokia.com/research/projects/mobile-web-server/
Also do you need anything else such as database support etc?
- [Django]-Django Fulltext search on JSON field
- [Django]-Use django-import-export with class based views
- [Django]-Django logging can't set maxBytes
- [Django]-Does Django 1.10 still need South to manage migrations?