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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/52CFE8C4.8030005%40eisenbits.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to