Tag Info

New answers tagged

0

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: ...


0

Solved in comments by OP: I've fixed this issue by running sudo python manage.py runserver instead of python manage.py runserver.


0

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