How to install js.spiffform
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install js.spiffform
Lastest release
Introduction
This library packages `SpiffForm`_ for fanstatic. It is aware of SpiffForm's structure.
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.
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()
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