I have a doubt in the Django models section, if I write some models in another python file like model123.py, within the same app, then how to migrate those models or how to use them?
CodePudding user response:
I think you could that file in the models.py
file like the following.
from .model123 import *
Then you can make migrations for that model too.