diff --git a/xSACdb/roles/decorators.py b/xSACdb/roles/decorators.py index d406c0f..2c61b07 100644 --- a/xSACdb/roles/decorators.py +++ b/xSACdb/roles/decorators.py @@ -9,9 +9,9 @@ def __init__(self, f): def is_allowed(self,user): return False - def __call__(self,request): + def __call__(self,request, *args, **kwargs): if self.is_allowed(request.user): - return self.f(request) + return self.f(request, *args, **kwargs) else: raise PermissionDenied diff --git a/xSACdb/version.py b/xSACdb/version.py index 40a5a72..ffc8523 100644 --- a/xSACdb/version.py +++ b/xSACdb/version.py @@ -1,6 +1,6 @@ # Version file, currently manually updated VERSION = { - 'tag': 'nu-5', - 'last_updated': '2014-09-28', + 'tag': 'nu-5-bugfix-1', + 'last_updated': '2014-10-14', } \ No newline at end of file