阅读背景:

Django CreateView:如何在保存时执行操作

来源:互联网 

I'm using a custom CreateView (CourseCreate) and UpdateView (CourseUpdate) to save and update a Course. I want to take an action when the Course is saved. I will create a new many-to-many relationship between the instructor of the new course and the user (if it doesn't already exist). I'm using a custom CreateView (CourseCreate) an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: