Fanstatic packaging of deform
Project description
js.deform
Introduction
This library packages deform for fanstatic.
This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.deform) are published to some URL.
Included resources
js.deform is different from most js. packages in that it doesn’t include any resources itself. It references the resources from deform instead. The only resources that are made available from js.deform are deform.js, form.css and beautify.css. All other resources that are part of the deform distribution are available separately:
jQueryUI (http://pypi.python.org/pypi/js.jqueryui)
jQueryUI Timepicker Addon (http://pypi.python.org/pypi/js.jquery_timepicker_addon)
jQuery Form (http://pypi.python.org/pypi/js.jquery_form)
jquery.maskedinput (http://pypi.python.org/pypi/js.jquery_maskedinput)
jquery-maskmoney (http://pypi.python.org/pypi/js.jquery_maskmoney)
TinyMCE (http://pypi.python.org/pypi/js.tinymce)
How to use?
JS
You can import deform_js from js.deform and need it where you want these resources to be included on a page:
>>> from js.deform import deform_js >>> deform_js.need()
CSS
You can import deform_css from js.deform and need it where you want these resources to be included on a page:
>>> from js.deform import deform_css >>> deform_css.need()
All
You can import deform from js.deform and need it where you want these resources to be included on a page:
>>> from js.deform import deform >>> deform.need()
CHANGES
0.9.5-1
Make the CSS resources available separately as well as combined with the JS resource.
0.9.5
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.