title: How to force a user logout in Django?
body: <p>In my Django app under certain conditions I want to be able to force users to log out by a username. Not necessarily the current user who is logged in, but another user. So, the request method in my view doesn't have any session information about the user that I want to logout.</p>
  
  <p>I am familiar with django.auth and with auth. logout method, but it takes <em>request</em> as an argument. Is there a "Django-way" to log the user out if all I have is the username? Or do I have to roll my own logout SQL?</p>