mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
Fix user picture view with Jinja update
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user