I have a Django Application.
I want to have all my models to be separated in files and lay in the specific directory, for instance:
/usr/project/models/myModel.py
Is it any possible?
Just importing through from myModel import * doesn’t work, unfortunately.
Is there any specific way to do this?
Create file
/usr/project/models/__init__.pycontainingfrom myModel import *.__init__.pyfile is required to make directory a python package.