Add some cosmetics

This commit is contained in:
Yohann D'ANELLO
2020-03-02 20:33:24 +01:00
parent a7df2411e0
commit 768a502b58
3 changed files with 29 additions and 2 deletions

View File

@ -11,8 +11,6 @@ class TombolaView(TemplateView):
def get_context_data(self, **kwargs):
context = super().get_context_data()
context['title'] = "Tombola Saper[list]popette"
next_rewards = Reward.objects.filter(rewarded_by__isnull=True).order_by('order').reverse()
old_reward = Reward.objects.filter(rewarded_by__isnull=False).order_by('order').reverse()
context['old_rewards'] = old_reward.all()