Introduction
jQuery Mobile is a jQuery based library for touch/mobile web applications. django-jqmobile builds on the jQuery Mobile framework to provide easier content management with Django. django-jqmobile adds a model for creating individually displayed screens or panels. When rendering, the contents of the panel is inspected and other referenced panels are rendered as well in order to combine the content and provide a more seamless experience.
Panels
The Panel model consists of a unique identifier, the body of the panel, and a flag for whether the panel can be embedded or should be loaded with an XMLHttpRequest when requested by the user.
Recursive Rendering
When rendering, the body of the panel is searched for anchor tags. Each anchor destination is checked to see if it is a local URL. If it is a local URL, the configurable list of panel resolvers is checked in order to see if it resolves to a panel. If the panel can be embedded, the render method on the panel is called and the results are included as a sibling in the output of the current panel.
Installation
Install the django-jqmobile package in your preferred method: easy_install, setup.py install, pip or buildout.
Add jqmobile to the list of INSTALLED_APPS in your settings file
Include jqmobile.urls in your project’s url patterns:
urlpatterns = patterns('', (r'', include('jqmobile.urls')), )
Versions
jQuery Mobile 1.0 alpha 2
jQuery 1.4.4
Additional Settings
- JQMOBILE_BASE_IDENTIFIER
Default default. This is the identifier to use with the default URL when using the jqmobile.urls include. Requesting ‘/’ will load this panel identifier.
- JQMOBILE_PANEL_RESOLVERS
Default ('jqmobile.resolvers.panel_model_resolver',). A list or tuple of panel resolving functions in the order they should be tried. Strings can be used to specify the resolving function or the actual functions can be entered.
History
0.1 (2010-09-08)
Panel model
Optional recursive rendering of panels (using introspection into content)
Configurable panel resolvers for including panels from other products
Metadata
Release files for django-jqmobile 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-jqmobile-0.1.tar.gz | 7.8 kB | Without provenance | Details for django-jqmobile-0.1.tar.gz |
Release files / django-jqmobile-0.1.tar.gz
| Download URL | django-jqmobile-0.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
528905bfe941fa69b0d2c31d97070fd6944514f59bb80f16d9130d688d97d5fb
|
|
BLAKE2b-256 checksum How to use checksums |
151ca8e26e1a6e21e4b22e282c07522c60df6f725b3f0bd84208a7c10adff2e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-jqmobile 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.