Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

ps_tree is extension for pyramid_sacrud which displays a list of records as tree. This works fine with models from sqlalchemy_mptt.

http://ps-tree.rtfd.org

License

NotificationsYou must be signed in to change notification settings

sacrud/ps_tree

Repository files navigation

Build StatusCoverage StatusPyPI

ps_tree

ps_tree is extension forpyramid_sacrud which displays a list of recordsas tree. This works fine with models fromsqlalchemy_mptt.

tree

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

Support and Development

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

License

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.

http://ps-tree.rtfd.org

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp