Closed bport closed 9 years ago
yes sure: we check if obj is not none because ContentType.objects.get_for_model(obj) don't support None values for object
Yes, but the existing code does this also. Any problems with that?
ctype = ContentType.objects.get_for_model(obj)
when you call this line you didn't check if obj exist
you can see stacktrace problem on this related issue: https://github.com/diefenbach/django-permissions/issues/2
Ah, I see. Thx.
Hi, it is possible to backport it to 1.2 branch and release a 1.2.3 version? thanks
Sure, will do that.
I can't see any difference in the result. Can you elaborate?