2👍
✅
Sure, you can do with the save part.
Serializer’s save
will call the serializer’s create
/update
which in turn will either process further the data or/and save the result to a database or anything else.
0👍
You can override the save method. This way you are not saving to the database but instead performing some action.
- [Answered ]-Angular -Js $http.post not working in django
- [Answered ]-Modifying User instances in Django already in database
- [Answered ]-Heroku + Django migrate command doesn’t create any table
- [Answered ]-When does Django ImageKit create the thumbnail file?
Source:stackexchange.com