A Flask extension to simplify building mobile-friendly sites.
Project description
Summary
A Flask extension to simplify building mobile-friendly sites.
This extension detects whether a mobile site is requested and it modifies the request object accordingly.
Decorators are provided to make mobilizing views easier.
Documentation
Documentation is at http://flask-mobility.readthedocs.org/en/latest/.
Install
To install:
$ pip install Flask-Mobility
You can also install the development version https://github.com/rehandalal/flask-mobility/tarball/master#egg=Flask-Mobility-dev:
$ pip install Flask-Mobility==dev
or:
$ git clone git://github.com/rehandalal/flask-mobility.git $ mkvirtualenv flaskmobility $ python setup.py develop $ pip install -r requirements.txt
Test
To run tests from a tarball or git clone:
$ python setup.py test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-Mobility-0.1.1.tar.gz
(38.6 kB
view hashes)