Categories
How to add records to two models at the same time in Django?
Please tell me how, when adding a record in one model, you can also add the values of some fields to another model.
Answer the question
In order to leave comments, you need to log in
If I understand the task correctly, this can be done using signals, for example post_save
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question