3👍
✅
To deploy a Django website on a production server, you have to serve it either with Apache+mod_wsgi, nginx+gunicorn, nginx+uwsgi, or any other server supporting WSGI. The Django documentation has a page on deploying Django on Apache with mod_wsgi, for the other solutions, there are plenty of useful documentation around the web.
1👍
runserver
is just for development/testing. It won’t handle high load, security, etc.
Python.org has docs on how to set up a proper webserver to serve Python code:
http://docs.python.org/howto/webservers.html
- [Django]-Can I drop into interactive mode at a breakpoint in pycharm3
- [Django]-Django: is importing a view from a module slower than including it in the main views.py file?
1👍
- [Django]-Errors When Installing MySQL-python module for Python 2.7
- [Django]-Django i18n_patterns without trailing slash
- [Django]-405 POST method no allowed on heroku with django
- [Django]-Attribute Cache in Django – What's the point?
Source:stackexchange.com