logging: Properly log the client for / as website.

(imported from commit 5d3cbbd26994dc5dd6d605a056947dbae19810a8)
This commit is contained in:
Tim Abbott 2013-10-18 15:19:34 -04:00
parent 5806a6e508
commit bd107dbb4e
1 changed files with 2 additions and 1 deletions

View File

@ -660,8 +660,9 @@ def home(request):
user_profile = request.user
request._email = request.user.email
request.client = get_client("website")
register_ret = do_events_register(user_profile, get_client("website"),
register_ret = do_events_register(user_profile, request.client,
apply_markdown=True)
user_has_messages = (register_ret['max_message_id'] != -1)