steambird/boecie/views.py
def form_valid(self, form: Form) -> HttpResponseRedirect:
        """
        If the form is valid, this will be triggered.

        :param form: The submitted form
        :return: Django HttpResponseRedirect
        """

        form.save()
        return redirect(reverse_lazy('boecie:config', kwargs={'pk': 1}))
        # TODO: make this universal for more associations instead of just us, then pk will
        # match something with them

        If the form is valid, this will be triggered.

        :param form: The submitted form
        :return: Django HttpResponseRedirect
        
If the form is valid, this will be triggered.
If the form is valid this will be triggered .
def form_valid(self, form: Form) -> HttpResponseRedirect:
        form.save()
        return redirect(reverse_lazy('boecie:config', kwargs={'pk': 1}))
def form_valid ( self , form : Form ) -> HttpResponseRedirect : form . save ( ) return redirect ( reverse_lazy ( 'boecie:config' , kwargs = { 'pk' : 1 } ) )
If the form is valid, this will be triggered.
If the form is valid this will be triggered .
"""
        If the form is valid, this will be triggered.

        :param form: The submitted form
        :return: Django HttpResponseRedirect
        """ # TODO: make this universal for more associations instead of just us, then pk will # match something with them
None
self
form
Form
The submitted form
The submitted form