| Issue 42: | DJANGO_SETTINGS_MODULE issue still exists? | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. download & install python and django
2. download latest stable release (mptt-0.2.1)
3. install via python setup.py install
What is the expected output? What do you see instead?
from python console, "import mptt" results in "ImportError: Settings cannot
be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.
Also, attempting to run syncdb after setting up models that use mptt
results in this error:
File "/usr/lib/python2.5/site-packages/mptt/__init__.py", line 73, in register
dispatcher.connect(pre_save, signal=model_signals.pre_save, sender=model)
AttributeError: 'module' object has no attribute 'connect'
What version of the product are you using? On what operating system?
ubuntu hardy heron
mptt-0.2.1
Please provide any additional information below.
Jan 25, 2009
#1
lozie...@gmail.com
Jul 3, 2009
(No comment was entered for this change.)
Status:
Invalid
|