django-smartagent
django-smartagent copied to clipboard
'ismobiledevice' return 'false', not False
if request.browser_info['ismobiledevice']:
do something
Will not behave as expected because it contains the string 'false', not the boolean False. If it's done for performance reasons, it should at least be mention in the doc.