It is not the syntax at web2py level that changed. Only the format in the session files. Before it was storing user_agent as a dict and converting it to a Storage of Storages upload loading. This was extra work at each request. Now we are storing the user_agent info as a Storage or Storages, as needed.
On Friday, 29 November 2013 11:21:19 UTC-6, mr.freeze wrote: > > That didn't work for me. It's easy enough to change > request.user_agent().is_mobile to request.user_agent()['is_mobile']. Just > curious as to why it changed. > > On Thursday, November 28, 2013 9:46:56 PM UTC-6, Tim Richardson wrote: >> >> To fix this, you need to clear sessions. >> The easiest way to do this is via the admin app. >> Find the application causing problems, and from the menu of actions per >> application, choose "Clean" >> >> This will fix the problem. >> At least, it fixes the "is_mobile" problem that people are experiencing >> due to the new web2py version. >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

