fanstatic spiffform jQuery.
Project description
Introduction
============
This library packages `SpiffForm`_ for `fanstatic`_. It is aware of SpiffForm's
structure.
.. _`fanstatic`: http://fanstatic.org
.. _`SpiffForm`: https://github.com/knipknap/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`: https://help.github.com/articles/working-with-subtree-merge
How::
$ git remote add -f spiffform https://github.com/lugensa/SpiffForm.git
$ 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 https://github.com/lugensa/SpiffForm.git 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`: http://fanstatic.org
.. _`spiffform`: http://www.appelsiini.net/projects/spiffform
CHANGES
=======
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
============
This library packages `SpiffForm`_ for `fanstatic`_. It is aware of SpiffForm's
structure.
.. _`fanstatic`: http://fanstatic.org
.. _`SpiffForm`: https://github.com/knipknap/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`: https://help.github.com/articles/working-with-subtree-merge
How::
$ git remote add -f spiffform https://github.com/lugensa/SpiffForm.git
$ 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 https://github.com/lugensa/SpiffForm.git 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`: http://fanstatic.org
.. _`spiffform`: http://www.appelsiini.net/projects/spiffform
CHANGES
=======
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
js.spiffform-1.2.0.zip
(169.5 kB
view hashes)