Skip to main content

JQuery tree structure in pyramid_sacrud or anywhere else.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ps_tree-0.0.1.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file ps_tree-0.0.1.tar.gz.

File metadata

  • Download URL: ps_tree-0.0.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ps_tree-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b0c53d0a75b3465a5168ddc5850cae1535a5d9640be642dcc66bd0eb34eaa9b7
MD5 4ca7e98f63532829fd5f199a28c36459
BLAKE2b-256 d2b6c947120a05cfbf24dd2636716a6906e0251fb37f1d81508db95871826417

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page