From 7c7295e73fe4e0ec65942d0edb35b0a78e22d77d Mon Sep 17 00:00:00 2001 From: Stephane Robino Date: Fri, 23 Aug 2013 19:39:49 +0200 Subject: [PATCH] fix request.user in TransactionListView --- saas/views/billing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saas/views/billing.py b/saas/views/billing.py index bec464104..fe1cbde20 100644 --- a/saas/views/billing.py +++ b/saas/views/billing.py @@ -65,7 +65,7 @@ def get_queryset(self): @method_decorator(requires_agreement('terms_of_use')) def dispatch(self, *args, **kwargs): self.customer = valid_manager_for_organization( - request.user, self.kwargs.get('organization_id')) + self.request.user, self.kwargs.get('organization_id')) return super(TransactionListView, self).dispatch(*args, **kwargs) def get_context_data(self, **kwargs):