X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fd1a9915dd65789cccf27041a1f01cd4077273fc..ab6d1311a5ddff7151ff0c574a202a7bcd0dfcc0:/src/club/views.py diff --git a/src/club/views.py b/src/club/views.py index 74ff2fb90..e80fcf977 100644 --- a/src/club/views.py +++ b/src/club/views.py @@ -53,6 +53,11 @@ class DonationStep2(UpdateView): template_name = 'club/2022/donation_step2.html' step = 2 + def get_context_data(self, **kwargs): + c = super().get_context_data(**kwargs) + c['club'] = models.Club.objects.first() + return c + class JoinView(CreateView): @property