From 595774939a41a1ae883b4784f1e54c8948486318 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Tue, 10 Jun 2014 15:35:32 -0300 Subject: [PATCH] Added android is mobile --- django_mobile/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_mobile/middleware.py b/django_mobile/middleware.py index 5551d9d..a5fe57b 100644 --- a/django_mobile/middleware.py +++ b/django_mobile/middleware.py @@ -37,7 +37,7 @@ class MobileDetectionMiddleware(object): user_agents_test_search = u"(?:%s)" % u'|'.join(( 'up.browser', 'up.link', 'mmp', 'symbian', 'smartphone', 'midp', 'wap', 'phone', 'windows ce', 'pda', 'mobile', 'mini', 'palm', - 'netfront', 'opera mobi', + 'netfront', 'opera mobi', 'android', )) user_agents_exception_search = u"(?:%s)" % u'|'.join(( 'ipad',