Small fix (le gaulois)

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

No files matched your search

-1
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'):