sehmaschine/django-grappelli — pull request #479 by submarcos (2014-05-12 07:42:55+00:00)
Title: Fixed exception in exception cases

Fix a bug triggered when self.model is None :

"AttributeError: 'NoneType' object has no attribute 'DoesNotExist'"