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.python.org/pypi/sacrud_deform/

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

Form generotor for SQLAlchemy models.

Install
=======

develop version from source

.. code-block:: bash

pip install git+https://github.com/ITCase/sacrud_deform.git


.. 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

from sacrud_deform import SacrudForm
columns_of_model = columns_by_group(MyModel)

form = SacrudForm(obj=obj,
dbsession=DBSession,
request=request,
table=MyModel)()
form_html = 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.7.post0.tar.gz (6.1 kB view hashes)

Uploaded Source

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