(self, request, *args, **kwargs)
return self.get_response()
保存表单数据。具体的程序执行流程为:

            1. :meth:`prepare_form`

            2. :meth:`instance_forms`

                2.1 :meth:`get_form_datas`

            3. :meth:`setup_forms`

            4. :meth:`valid_forms`

                4.1 :meth:`save_forms`

                4.2 :meth:`save_models`

                4.3 :meth:`save_related`

                4.4 :meth:`post_response`
保存表单数据。具体的程序执行流程为:
保存表单数据。具体的程序执行流程为 :
def post(self, request, *args, **kwargs):
        """
        保存表单数据。具体的程序执行流程为:

            1. :meth:`prepare_form`

            2. :meth:`instance_forms`

                2.1 :meth:`get_form_datas`

            3. :meth:`setup_forms`

            4. :meth:`valid_forms`

                4.1 :meth:`save_forms`

                4.2 :meth:`save_models`

                4.3 :meth:`save_related`

                4.4 :meth:`post_response`
        """
        self.instance_forms()
        self.setup_forms()

        if self.valid_forms():
            self.save_forms()

            ret = self.save_models()
            if isinstance(ret, dutils.basestring):
                self.message_user(ret,'error')
                return self.get_response()
            if isinstance(ret, HttpResponse):
                return ret

            self.save_related()
            self.after_save()
            response = self.post_response()
            if isinstance(response, dutils.basestring):
                return HttpResponseRedirect(response)
            else:
                return response

        return self.get_response()
def post ( self , request , * args , * * kwargs ) : self . instance_forms ( ) self . setup_forms ( ) if self . valid_forms ( ) : self . save_forms ( ) ret = self . save_models ( ) if isinstance ( ret , dutils . basestring ) : self . message_user ( ret , 'error' ) return self . get_response ( ) if isinstance ( ret , HttpResponse ) : return ret self . save_related ( ) self . after_save ( ) response = self . post_response ( ) if isinstance ( response , dutils . basestring ) : return HttpResponseRedirect ( response ) else : return response return self . get_response ( )