You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It really makes no difference. A sub-package is normally used when you have more than one file. For example, if your models.py gets large you can split it into multiple parts and put all the parts inside a models sub-package.
I just want to know if its better to insert
config.py
andmodel.py
into respective directoriesconfig
andmodel
.And in case that this is better, must I create an
__init__.py
in these directories so then I work with them as packages?The text was updated successfully, but these errors were encountered: