It doesn't rain - it pours. Django MPTT 0.2.1
It turns out Django MPTT 0.2 had a dodgy setup.py, which only worked if you had a valid DJANGO_SETTINGS_MODULE environment variable in place.
You can now grab version 0.2.1 instead, which puts in a quick fix to rectify this.
Posted by jonny on January 16, 2008

Comments
Jiri Barton February 11, 2008 at 2:40 p.m.
I was wondering what you think about using MPTT for storing directed graphs. I have users who can be included in groups which can be included in groups which can be included in other groups, etc. This way I have a hierarchical structure but it is not a tree, it is rather an acyclic directed graph but it may contain cyclic undirected paths.
MPTT is good for holding a directory tree structure but it could implement symlinks - so I think. Do you think it could be modified in some way? Have you heard of a trick that will turn my adjancency SQL model into something as clever as your MPTT?
Thank you for your answer and forgive me I hijacked your MPTT release announcement.
hunter March 4, 2008 at 10:25 p.m.
Doesn't work for me, I get File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/django/conf/__init__.py", line 53, in _import_settings
raise EnvironmentError, "Environment variable %s is undefined." % ENVIRONMENT_VARIABLE
EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined.
error, and I am using the svn version >>> mptt.VERSION
(0, 3, 'pre')
OS X 10.3.9, django .96.1, python 2.3.3
Tim March 9, 2008 at 11:23 p.m.
Hey there, is there any chance to discuss about this tool? I'd like to use it, but I get the following error:
cannot import name ugettext
Wherever I try to import mptt
Comments are currently disabled