google-code-export / django-mptt

Automatically exported from code.google.com/p/django-mptt
Other
0 stars 0 forks source link

DJANGO_SETTINGS_MODULE issue still exists? #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
just discovered - these problems go away if i pull the package from svn.

Original comment by lozie...@gmail.com on 26 Jan 2009 at 12:36

GoogleCodeExporter commented 9 years ago

Original comment by jonathan.buchanan on 3 Jul 2009 at 10:46