Fanstatic packaging of deform_bootstrap
This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.deform_bootstrap) are published to some URL.
js.deform_bootstrap is different from most js. packages in that it doesn’t include any resources itself. It references the resources from deform_bootstrap instead.
Usage in Pyramid
To use this package in Pyramid you have to include the following packages:
deform_bootstrap js.deform js.deform_bootstrap
js.deform_bootstrap must be included after js.deform as it overrides some parts of its configuration.
How to use?
You can import deform_bootstrap_js from js.deform_bootstrap and need it where you want these resources to be included on a page:
>>> from js.deform_bootstrap import deform_bootstrap_js >>> deform_bootstrap_js.need()
0.2.6 - 2013-04-22
- Add jQueryUI bootstrap theme CSS to resource mapping
- Using deform_bootstrap’s resources in resource_mapping. This fixes the select widget which needs the JS code from deform_bootstrap.
- Fix docs.
- Add fanstatic resources to js.deform’s resource_mapping.
- Initial release.