steambird/util/multi_form_view.py
def handle_post_forms(self, request, forms) -> Optional[Any]:
        """
        Fork to the validation functions in case of form submissions.

        :param request: The POST request that was received with form data.
        :param forms: The forms that were shown on this page.
        :return: Nothing or a response
        """
        if not request.POST:
            return None

        form_name = request.POST[self.__class__.form_name_field_name]
        form = forms[form_name]

        if not form:
            return None

        if form.is_valid():
            return self.form_valid(request, form, form_name)
        return self.form_invalid(request, form, form_name)

        Fork to the validation functions in case of form submissions.

        :param request: The POST request that was received with form data.
        :param forms: The forms that were shown on this page.
        :return: Nothing or a response
        
Fork to the validation functions in case of form submissions.
Fork to the validation functions in case of form submissions .
def handle_post_forms(self, request, forms) -> Optional[Any]:
        if not request.POST:
            return None
        form_name = request.POST[self.__class__.form_name_field_name]
        form = forms[form_name]
        if not form:
            return None
        if form.is_valid():
            return self.form_valid(request, form, form_name)
        return self.form_invalid(request, form, form_name)
def handle_post_forms ( self , request , forms ) -> Optional [ Any ] : if not request . POST : return None form_name = request . POST [ self . __class__ . form_name_field_name ] form = forms [ form_name ] if not form : return None if form . is_valid ( ) : return self . form_valid ( request , form , form_name ) return self . form_invalid ( request , form , form_name )
Fork to the validation functions in case of form submissions.
Fork to the validation functions in case of form submissions .
"""
        Fork to the validation functions in case of form submissions.

        :param request: The POST request that was received with form data.
        :param forms: The forms that were shown on this page.
        :return: Nothing or a response
        """
Nothing or a response
Nothing or a response
self
request
The POST request that was received with form data.
The POST request that was received with form data .
forms
The forms that were shown on this page.
The forms that were shown on this page .