From e6ca0fcb4c610dcf4cac291b3b3ace1a5b3f2d90 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 2 Jul 2015 11:53:05 +0100 Subject: [PATCH] Remove erronous newline --- rest_framework/filters.py | 1 - 1 file changed, 1 deletion(-) 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'