Showing user agent in social pages.

This commit is contained in:
Samuel Clay 2015-07-29 13:37:12 -07:00
parent 0fd9753bfb
commit a983d1afe5

View file

@ -482,8 +482,9 @@ def load_social_page(request, user_id, username=None, **kwargs):
'social_services': social_services,
}
logging.user(request, "~FYLoading ~FMsocial ~SBpage~SN~FY: ~SB%s%s" % (
social_profile.title[:22], ('~SN/p%s' % page) if page > 1 else ''))
logging.user(request, "~FYLoading ~FMsocial page~FY: ~SB%s%s ~FB%s" % (
social_profile.title[:22], ('~SN/p%s' % page) if page > 1 else '',
request.META.get('HTTP_USER_AGENT', "")[:40]))
if format == 'html':
template = 'social/social_stories.xhtml'
else: