Skip to content

Commit

Permalink
make BaseAuthRoleBackend abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
tomi77 committed May 6, 2017
1 parent aace941 commit f6e76d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authrole/auth/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class BaseAuthRoleBackend(ModelBackend):
Authenticates against authrole.models.Role.
"""
def fetch_role_permissions(self, user_obj):
raise NotImplemented()
raise NotImplementedError()

def get_role_permissions(self, user_obj, obj=None):
"""
Expand Down

0 comments on commit f6e76d6

Please sign in to comment.