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
Release files for js.spiffform 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| js.spiffform-1.2.0.zip | 169.5 kB | Details |
Release files / js.spiffform-1.2.0.zip
| Download URL | js.spiffform-1.2.0.zip |
|---|---|
| Size | 169.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69456d0de6dea4e5906dcfb85b9f92a704fca3f9a3aabc626ff2140b9698917e
|
|
BLAKE2b-256 checksum How to use checksums |
f7c838ddf2628d5c9a2ad9424c364b4e35dd1896a2f4b908ea4561c679230efc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |