Z
Z
zkweb2015-09-29 22:20:54
Django
zkweb, 2015-09-29 22:20:54

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

1 answer(s)
U
un1t, 2015-09-29
@zkweb

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 your question

Ask a Question

731 491 924 answers to any question