is created, one field of this model is a foreign key, it is retrieved from the database by pk. I do the same thing in tests, but instead of making a selection from the test base, everything seems to be taken from the real base, and, accordingly, an object does not exist error is issued. How can this problem be solved?
?
Send a photo of model
i sent you
Обсуждают сегодня