New answers tagged django
There are a number of different ways in which you can install Django depending upon your needs and how you want to configure your development environment. Global Install from Packages: sudo apt-get update sudo apt-get install python-django You can test that the installation was successful by typing: django-admin --version Global Install through pip: ...
Solved in comments by OP: I've fixed this issue by running sudo python manage.py runserver instead of python manage.py runserver.
It is possible that the wsgi module is not installed on your machine. Then obviously activating it will fail. Do sudo aptitude install libapache2-mod-wsgi to install it. The installer will also enable the module for you. You then have to restart apache with sudo service apache2 restart and it should work.
Top 50 recent answers are included