get pk from an user in django code example Example: how to get the user argent in django request.META['HTTP_USER_AGENT']