treyhunner/django-simple-history — pull request #115 by RossLote (2014-09-09 13:17:18+00:00)
Title: Update models.py

When using the request middleware, if the user is anonymous an error is raised stating that the 'history_user' attribute must be an instance of User. As this field can be null, get_history_user has been updated to return None if the user is not authenticated. Also made the returning of None explicit.