Issues with admin in django

前端 未结 1 670
不知归路
不知归路 2021-01-29 10:28

I am making a shopping cart using mezzanine and cartridge.

In my order model there is a field called status which has choices of unprocessed and processed. After an orde

1条回答
  •  [愿得一人]
    2021-01-29 10:36

    You need to add a listener on the post_save signal for the model. Your listener (which is a standard Python method) will check what field has changed and then dispatch the email to the user.

    0 讨论(0)
提交回复
热议问题