hurry.resource for JQuery Datalink
Project description
hurry.datalink
Introduction
How to use?
You can import hurry.datalink from hurry.datalink and .need it where you want these resources to be included on a page:
from hurry.datalink import datalink .. in your page or widget rendering code, somewhere .. datalink.need()
This requires integration between your web framework and hurry.resource, and making sure that the original resources (shipped in the datalink-build directory in hurry.datalink) are published to some URL.
The package has already been integrated for Grok and the Zope Toolkit. If you depend on the hurry.zoperesource package in your setup.py, the above example should work out of the box. Make sure to depend on the hurry.zoperesource package in your setup.py.
Preparing hurry.datalink before release
This section is only relevant to release managers of hurry.datalink.
When releasing hurry.datalink, an extra step should be taken. Follow the regular package release instructions, but before egg generation (python setup.py register sdist upload) first execute bin/datalinkprepare <version number>, where version number is the version of the release, such as 1.0.1. This will download the hurry.datalink library of that version and place it in the egg.
CHANGES
Download
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
File details
Details for the file hurry.datalink-0.1.tar.gz
.
File metadata
- Download URL: hurry.datalink-0.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf46d37371453320ba87019f1dce8d5b48508ff764fa6def141c215ea85588a5 |
|
MD5 | 7e220342f4f968350d5d5280b0e1df2b |
|
BLAKE2b-256 | 881e6750dfa3937e7814691bf29278dff3fbfa37b2f393721b8dfc3570222a7d |