lukaszb/django-guardian — pull request #187 by hansl (2013-12-19 23:45:24+00:00)
Title: Adding a check for anonymous user and getting its objects.

Added tests for covering the new use case.

The bug fixed is that if we’re passed an django.contrib.auth.models.AnonymousUser the database queries will fail. Since this user is often used in requests it makes sense that we should use django-guardian’s own AnonymousUser instead.