Skip to content

Commit

Permalink
added kye for can_read_url method
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Mitt committed Sep 14, 2015
1 parent ca87aa2 commit fce5d23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drf_tools/auth/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ def __check_links(self, request):
if not type(urls) is list:
urls = [urls]
for url in urls:
if not self._can_read_url(request, url, resolver):
if not self._can_read_url(request, url, resolver, key):
return False
return True

def _can_read_url(self, request, url, resolver):
def _can_read_url(self, request, url, resolver, key):
if url is None:
return True
sub_request = self.__make_sub_request(request, url, resolver)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='drf-tools',
version="0.9.17",
version="0.9.18",
url='https://github.com/seebass/drf-tools',
license='MIT',
description='Multiple extensions and test utilities for Django REST Framework 3',
Expand Down

0 comments on commit fce5d23

Please sign in to comment.