mobile admin, thanks Angelo
This commit is contained in:
@@ -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/')
|
||||
|
||||
Reference in New Issue
Block a user