Contents:
__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)" __license__ = "AGPL v3" [docs]class RequestArgumentMixin: """ Use the WSGIRequest as an argument in the form. """ [docs] def get_form_kwargs(self): kwargs = super().get_form_kwargs() kwargs["request"] = self.request return kwargs