Fix club rights

This commit is contained in:
Skia
2016-03-15 18:26:03 +01:00
parent d90c0f86f4
commit fe8f5bb2e3
4 changed files with 6 additions and 7 deletions

View File

@ -72,9 +72,6 @@ class CanViewMixin(View):
"""
def dispatch(self, request, *arg, **kwargs):
res = super(CanViewMixin, self).dispatch(request, *arg, **kwargs)
import traceback
traceback.print_stack(limit=10)
print(self.__dict__)
if hasattr(self, 'object'):
obj = self.object
elif hasattr(self, 'object_list'):