mobile admin, thanks Angelo

This commit is contained in:
Massimo Di Pierro
2011-12-09 20:55:57 -06:00
parent ac82f1e4e7
commit f0f8c8ce22
21 changed files with 313 additions and 319 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
# coding: utf8
EXPERIMENTAL_STUFF = False
EXPERIMENTAL_STUFF = True
if EXPERIMENTAL_STUFF:
is_mobile=request.user_agent().is_mobile
is_mobile = True #request.user_agent().is_mobile
if is_mobile:
response.view = response.view.replace(
'default/','default.mobile/')