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.
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.
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.post0.tar.gz
(134.0 kB
view details)
File details
Details for the file ps_tree-0.0.1.post0.tar.gz.
File metadata
- Download URL: ps_tree-0.0.1.post0.tar.gz
- Upload date:
- Size: 134.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ce1a1dd2189944162bf2ff4a52ad230eb3d3dd9f0f01d836efff28e32776733
|
|
| MD5 |
e20339db19e6fdb78da57d8f26818e47
|
|
| BLAKE2b-256 |
2fd6d7e6f25c7e63fda038f1c5b14a71aa79eddf1db217c32fc258e6293d151b
|