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.
Original issue reported on code.google.com by lozie...@gmail.com on 25 Jan 2009 at 9:03
Original issue reported on code.google.com by
lozie...@gmail.com
on 25 Jan 2009 at 9:03