A Flask extension to simplify building mobile-friendly sites.
This extension detects whether a mobile site is requested and it
modifies the Flask global g
object accordingly.
Decorators are provided to make mobilizing views easier.
Full documentation is available at: http://flask-mobility.readthedocs.org/en/latest/
To install:
$ pip install Flask-Mobility
You can also install the development version:
$ 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
To run tests from a tarball or git clone:
$ python setup.py test