[Answered ]-Is there a short way to do Django objects.create()

2👍

If rec_fields is a dictionary with all the model fields as keys, you can just do SOA_detail.objects.create(soa=instance, **rec_fields)

Leave a comment