ps_tree is extension for pyramid_sacrud which displays a list of records as tree. This works fine with models from sqlalchemy_mptt.
Python JavaScript CSS Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
example
ps_tree
.bowerrc
.editorconfig
.gitignore
.jshintrc
.travis.yml
LICENSE
MANIFEST.in
Makefile
README.rst
bower.json
gulpfile.js
package.json
requirements-docs.txt
requirements-test.txt
requirements.txt
setup.cfg
setup.py

README.rst

Build Status Coverage Status PyPI

ps_tree

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

tree

Look how easy it is to use:

from pyramid_pages.models import BaseSacrudMpttPage

Base = declarative_base()
DBSession = scoped_session(sessionmaker(extension=ZopeTransactionExtension()))

class PageTree(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 see http://ps-tree.rtfd.org

Support and Development

To report bugs, use the issue tracker

We welcome any contribution: suggestions, ideas, commits with new futures, bug fixes, refactoring, docs, tests, translations etc

If you have question, contact me sacrud@uralbash.ru or IRC channel #sacrud

License

The project is licensed under the MIT license.