summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.py b/views.py
index 0d9b56a..ba09989 100644
--- a/views.py
+++ b/views.py
@@ -71,7 +71,7 @@ def _select_template(request, s):
the suffix if the request comes from a mobile device.
'changepw/change_password.html' -> 'changepw/change_password_m.html'
'''
- p = re.compile('(iphone|ipod|blackberry|android|palm|windows\s+ce)',
+ p = re.compile('(iphone|ipod|ipad|blackberry|android|palm|windows\s+ce)',
re.IGNORECASE)
if p.search(request.META['HTTP_USER_AGENT']):
parts = s.split('.')