Skip to main content

Form generator for SQLAlchemy models.

Project description

|Build Status| |Coverage Status| |Stories in Progress| |PyPI|

.. |Build Status| image:: https://travis-ci.org/ITCase/sacrud_deform.svg?branch=master
:target: https://travis-ci.org/ITCase/sacrud_deform
.. |Coverage Status| image:: https://coveralls.io/repos/ITCase/sacrud_deform/badge.png?branch=master
:target: https://coveralls.io/r/ITCase/sacrud_deform?branch=master
.. |Stories in Progress| image:: https://badge.waffle.io/ITCase/sacrud_deform.png?label=in%20progress&title=In%20Progress
:target: http://waffle.io/ITCase/sacrud_defrom
.. |PyPI| image:: http://img.shields.io/pypi/dm/sacrud_deform.svg
:target: https://pypi-hypernode.com/pypi/sacrud_deform/

sacrud_deform
==============

Form generotor for SQLAlchemy models.

Install
=======

develop version from source

.. code-block:: bash

pip install git+git://github.com/ITCase/sacrud_deform@develop

from pypi

.. code-block:: bash

pip install sacrud_deform

Use
===

For get column of model use sacrud function :py:func:`sacrud.common.columns_by_group`.

.. code-block:: python

columns_of_model = columns_by_group(self.table)
data, js_list = form_generator(dbsession=DBSession,
obj=obj_of_model,
table=MyModel,
columns_by_group=columns_of_model,
request=self.request)
form = data.render()


Support and Development
=======================

To report bugs, use the `issue tracker <https://github.com/ITCase/sacrud_deform/issues>`_
or `waffle board <https://waffle.io/ITCase/sacrud_deform>`_.

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

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

sacrud_deform-0.0.3.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file sacrud_deform-0.0.3.tar.gz.

File metadata

File hashes

Hashes for sacrud_deform-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d9145c860184135eccb58cfdf1aeb7fc54db31b214d9c08b2d1a30538f305321
MD5 f7f2b044c331836d4522b1e2be2b224a
BLAKE2b-256 8fc18f17e814bbbae42095f1a2a97f948f572edc0ec2a3d7aa7f82571f0ded1a

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