Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
django [2017/06/28 10:12]
steve created
django [2017/06/28 10:25]
steve
Line 2: Line 2:
  
   * [[Apache mod_wsgi]]   * [[Apache mod_wsgi]]
 +
 +Installing django makes the modules available as native python ones. Once installed, you can use ''​import django''​.
 +
 +<​code>​
 +wget https://​www.djangoproject.com/​m/​releases/​1.11/​Django-1.11.2.tar.gz
 +</​code>​
 +
 +<​code>​
 +python setup.py build
 +python setup.py install
 +</​code>​
 +
 +Verify the install:
 +
 +<​code>​
 +python
 +>>>​ import django
 +>>>​ print(django.get_version())
 +</​code>​