A basic "is_mobile" middleware Django app
- Install using pip:
pip install django-ismobile
- Include to your INSTALLED_APPS:
- INSTALLED_APPS = [
... 'ismobile',
]
- Include MobileControlMiddleware to your MIDDLEWARE:
- MIDDLEWARE_CLASSES = (
... 'ismobile.middleware.MobileControlMiddleware',
)