X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fd1a9915dd65789cccf27041a1f01cd4077273fc..a9226097c8eea0591fd3249f62a71becc6d2be93:/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