old_contents: 
  from account.models import Account, AnonymousAccount
  
  def openid(request):
      return {'openid': request.openid}
  
  def account(request):
      if request.user.is_authenticated():
          try:
              account = Account._default_manager.get(user=request.user)
          except (Account.DoesNotExist, Account.MultipleObjectsReturned):
              account = AnonymousAccount(request)
      else:
          account = AnonymousAccount(request)
      return {'account': account}
  
new_contents: 
  from account.models import Account, AnonymousAccount
  
  def openid(request):
      return {'openid': request.openid}
  
  def account(request):
      if request.user.is_authenticated():
          try:
              account = Account._default_manager.get(user=request.user)
          except Account.DoesNotExist:
              account = AnonymousAccount(request)
      else:
          account = AnonymousAccount(request)
      return {'account': account}
  
subject: Throw 500 error on multiple accounts in account context processor