-1
我是Django的新手,希望在下面的一段代碼中得到澄清,我在views.py中看到了代碼,並想知道它是如何工作的。一般在視圖中,我打電話給我與變量HMTL THADjango views單表單處理
sfp = SimpleFormProcessing(
form_class=VolunteerSignupForm,
form_2_model=volunteersignupform_2_model,
form_template='signups/create_contact_form.dmpl',
email_template='signups/response_email.dmpl',
email_html_template='signups/response_email_html.dmpl',
email_subject='Vibha Volunteer Signup',
email_sender='[email protected]',
redirect_url='/signups/thanks/',
do_captcha=True)
它是程序中定義的函數。感謝您的輸入 – user1050619 2012-04-24 14:11:15