Package madrona :: Package common :: Package uaparser :: Module clientos
[hide private]

Module clientos

source code

Based on http://vaig.be/2009/03/getting-client-os-in-django.html

Functions [hide private]
 
client_os(user_agent)
Context processor for Django that provides operating system information base on HTTP user agent.
source code
Function Details [hide private]

client_os(user_agent)

source code 

Context processor for Django that provides operating system information base on HTTP user agent. A user agent looks like (line break added): "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020409 Iceweasel/3.0.6 (Debian-3.0.6-1)"