Where is the django model relationship definition function?

Asked 2 years ago, Updated 2 years ago, 51 views

Hi, everyone. You want to map the value of a field related to the model of the many-to-many relationship to any field. It's crawled data, so it's not mapped yet Should the location of this function be within a model class where many-to-many relationships are declared?

django python

2022-09-22 14:01

1 Answers

I think you want to migrate existing data. Isn't it a function that you can't use once you use it? Then I think I'll just run the code on the django shell.


2022-09-22 14:01

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.