Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (43 sloc) 1.52 KB

Overview

ps_alchemy is extension for pyramid_sacrud which provides SQLAlchemy models.

Look how easy it is to use:

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

class PageTree(Base):
    __tablename__ = 'pages'

    id = Column(Integer, primary_key=True)
config.include('ps_alchemy')
config.include('pyramid_sacrud', route_prefix='admin')
config.registry.settings['pyramid_sacrud.models'] = ('webpages', [PageTree, ])

go to http://localhost:6543/sacrud/

Example can be found here https://github.com/sacrud/ps_alchemy/tree/master/example

Usage

.. toctree::
  :maxdepth: 3

  pages/install.rst
  pages/configuration/index.rst
  pages/api.rst

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.

Indices and tables

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.