add the current user automatically in django framework code example Example: how to get the user argent in django request.META['HTTP_USER_AGENT']