Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
django [2017/06/28 10:24] steve |
django [2017/06/28 10:26] steve |
||
---|---|---|---|
Line 2: | Line 2: | ||
* [[Apache mod_wsgi]] | * [[Apache mod_wsgi]] | ||
+ | * [[python]] | ||
Installing django makes the modules available as native python ones. Once installed, you can use ''import django''. | Installing django makes the modules available as native python ones. Once installed, you can use ''import django''. | ||
Line 12: | Line 13: | ||
python setup.py build | python setup.py build | ||
python setup.py install | python setup.py install | ||
+ | </code> | ||
+ | |||
+ | Verify the install: | ||
+ | |||
+ | <code> | ||
+ | python | ||
+ | >>> import django | ||
+ | >>> print(django.get_version()) | ||
</code> | </code> |