Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-jqmobile

How to install django-jqmobile

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-jqmobile
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1 Available View build log
Windows (64-bit)
0.1 Available View build log
Mac OS X (10.5+)
0.1 Available View build log
Linux (32-bit)
0.1 Available View build log
Linux (64-bit)
0.1 Available View build log
 
License
Apache License 2.0
Dependencies
Imports
Lastest release
version 0.1 on Feb 25th, 2011

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:

System Message: WARNING/2 (<string>, line 38)

Literal block expected; none found.

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

Subscribe to package updates

Last updated Feb 25th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.