How to merge queryset instances of one object to another?

Published: 22/09/2019
How to merge queryset instances of one object to another?
Source: STACKOVERFLOW.COM

I have a Django model known as Ingredient and i want to merge ingredient objects returned by queryset selected by the user in Django admin. I have created an action in Django admin known as "Merge selected" in which user select ingredients and click on the action created by me. i m very new to django and i m stuck on this problem from since. Below i m attaching model class. class Ingredient(mode

Read more
Related news
Comment
FACEBOOK