- Notifications
You must be signed in to change notification settings - Fork2
ps_tree is extension for pyramid_sacrud which displays a list of records as tree. This works fine with models from sqlalchemy_mptt.
License
sacrud/ps_tree
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ps_tree is extension forpyramid_sacrud which displays a list of recordsas tree. This works fine with models fromsqlalchemy_mptt.
Look how easy it is to use:
frompyramid_pages.modelsimportBaseSacrudMpttPageBase=declarative_base()DBSession=scoped_session(sessionmaker(extension=ZopeTransactionExtension()))classPageTree(Base,BaseSacrudMpttPage):__tablename__='pages'id=Column(Integer,primary_key=True)
config.include('ps_tree')config.registry.settings['ps_tree.models']= (PageTree, )config.include('pyramid_sacrud',route_prefix='admin')config.registry.settings['pyramid_sacrud.models']= ('',PageTree)
For more docs seehttp://ps-tree.rtfd.org
To report bugs, use theissue tracker
We welcome any contribution: suggestions, ideas, commits with new futures,bug fixes, refactoring, docs, tests, translations etc
If you have question, contact mesacrud@uralbash.ru or IRC channel #sacrud
The project is licensed under the MIT license.
About
ps_tree is extension for pyramid_sacrud which displays a list of records as tree. This works fine with models from sqlalchemy_mptt.