permissions.py
6.22 KB
-
Ensure `Django{Model,Object}Permissions` don't hide exceptions. · 69688289
Quietly catching `AttributeError` and `TypeError` when calling `get_queryset()` is rather insidious, as those exceptions get caught no matter where they might happen in the call stack.
Aarni Koskela committed