diff --git a/rest_framework/filters.py b/rest_framework/filters.py index 2b2774255..36ce00476 100644 --- a/rest_framework/filters.py +++ b/rest_framework/filters.py @@ -185,7 +185,6 @@ class DjangoObjectPermissionsFilter(BaseFilterBackend): A filter backend that limits results to those where the requesting user has read object level permissions. """ - def __init__(self): assert guardian, 'Using DjangoObjectPermissionsFilter, but django-guardian is not installed'