Hi
Is it possible to bundle Django with the application, or a number of
applications, instead of installing it in a system-wide location?
The instructions here:
https://docs.djangoproject.com/en/1.6/topics/install/ do not seem to
allow such a setting.
I was kind-of able to do it with PYTHONPATH=/some/path/to/django/, i.e.
this command-line program:
import django
print(django.get_version())
runs (and prints 1.6.1), but Django's own test suite does not seem to work:
$ ./runtests.py
Usage: runtests.py [options] [module module module ...]
runtests.py: error: DJANGO_SETTINGS_MODULE is not set in the
environment. Set it or use --settings.
What's wrong?...
--
http://people.eisenbits.com/~stf/
http://www.eisenbits.com/
OpenPGP: 80FC 1824 2EA4 9223 A986 DB4E 934E FEA0 F492 A63B