Skip to main content

fanstatic spiffform jQuery.

Project description


This library packages `SpiffForm`_ for `fanstatic`_. It is aware of SpiffForm's

.. _`fanstatic`:
.. _`SpiffForm`:

This requires integration between your web framework and ``fanstatic``,
and making sure that the original resources (shipped in the ``resources``
directory) are published to some URL.

Git subtree of SpiffForm

We use git `subtree`_ to get SpiffForm.

.. _`subtree`:


$ git remote add -f spiffform
$ git merge -s ours --no-commit spiffform/master
$ git read-tree --prefix=js/spiffform/resources/ -u spiffform/master
$ git commit -m "Subtree merged in js/spiffform/resources/"

Pull changes::

$ git pull -s subtree #this only works if we use not nested prefix name
$ git pull --squash -s subtree master

How to use?

You can import spiffform from ``js.spiffform`` and ``need`` it where you want
these resources to be included on a page::

>>> from js.spiffform import spiffform
>>> spiffform.need()

.. _`fanstatic`:
.. _`spiffform`:


1.2.0 (2013-08-22)

- Merged upstream i18n fix.

- Fixed rst,

1.1.0 (2013-08-20)

- Merged upstream date range.

1.0.0 (2013-05-27)

- Initial release

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 (169.5 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