X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/18aa8ca52202003e5628a882f3469a04d905cc05..4fb23ed3c3396d23a37a718fc857ecc8b36b0c7f:/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):