Mark,
I'm trying to test run your above example with SQLAlchemy-ORM-tree-0.1.2
and SQLAlchemy-0.8.0b2
i get the following traceback, any suggestions, thanks
Traceback (most recent call last):
File "./t.py", line 28, in <module>
Node.tree.register()
File
"/nfs/disks/rel/SQLAlchemy-ORM-tree-0.1.2/sqlalchemy_tree/manager/unmapped.py",
line 216, in __get__
return self._get_class_manager(root_node_class)
File
"/nfs/disks/rel/SQLAlchemy-ORM-tree-0.1.2/sqlalchemy_tree/manager/unmapped.py",
line 250, in _get_class_manager
manager = self.class_manager)
File
"/nfs/disks/rel/SQLAlchemy-ORM-tree-0.1.2/sqlalchemy_tree/options.py", line
233, in class_mapped
self.parent_field_name = self._get_parent_field_name()
File
"/nfs/disks/rel/SQLAlchemy-ORM-tree-0.1.2/sqlalchemy_tree/options.py", line
260, in _get_parent_field_name
u"could not auto-detect parent field name; tree extension will not " \
ValueError: could not auto-detect parent field name; tree extension will
not work property without a parent relationship defined
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sqlalchemy/-/dSwo2N8kxjIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.