Fix user picture view with Jinja update

This commit is contained in:
Skia committed 2017-02-24 01:52:26 +01:00
1 parent d3514e85f4
commit 5897318cc6
2 files changed
+8 -16

No files matched your search

+2 -2
View File
@@ -502,8 +502,8 @@ class UserAccountView(UserAccountBase):
(lambda q: q.amount)
)
kwargs['etickets'] = self.object.customer.buyings.exclude(product__eticket=None).all()
except:
pass
except Exception as e:
print(repr(e))
return kwargs
class UserAccountDetailView(UserAccountBase, YearMixin, MonthMixin):