Small fix (le gaulois)

This commit is contained in:
Skia
2016-03-24 11:55:39 +01:00
parent c3fb581f97
commit 7d7652e319
4 changed files with 15 additions and 3 deletions

View File

@ -72,7 +72,6 @@ class CanViewMixin(View):
"""
def dispatch(self, request, *arg, **kwargs):
res = super(CanViewMixin, self).dispatch(request, *arg, **kwargs)
print("GUYGUYGUYGUYGUY")
if hasattr(self, 'object'):
obj = self.object
elif hasattr(self, 'object_list'):