X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/18aa8ca52202003e5628a882f3469a04d905cc05..131ae407ca583a8a8086cf94c222c85fa3f5be63:/src/club/views.py diff --git a/src/club/views.py b/src/club/views.py index 1ab1eae06..c6136b67f 100644 --- a/src/club/views.py +++ b/src/club/views.py @@ -99,7 +99,7 @@ class JoinView(CreateView): def get_form_kwargs(self): kwargs = super().get_form_kwargs() - #kwargs['referer'] = self.request.META.get('HTTP_REFERER', '') + kwargs['referer'] = self.request.META.get('HTTP_REFERER', '') return kwargs def form_valid(self, form):