0
我試圖使用send_mail從Django文檔:Django send_mail函數錯誤?
send_mail('Subject here', 'Here is the message.', '[email protected]',
['[email protected]'], fail_silently=False)
我使用的是真正的e-mail地址。然而我得到這個錯誤:
send_mail() takes exactly 1 non-keyword argument (4 given)
我在做什麼錯?謝謝
我沒有另外的功能。 – user1881957
哦,我明白了!我不應該命名視圖show_file。謝了哥們! – user1881957