Initial sql data documentation
|Reported by:||jli||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I think it would be nice to add that if for some reason you're using models as a directory with init.py that import every sub modules in there, you need to actually move the sql folder inside your models folder.
So to be clear:
usual setups is :
models.py --> myModel
the setup that needs documentation:
mymodelgroup.py --> myModel
anothermodelgroup.py --> anotherModel
There is no info anywhere about this, I don't know if it's a feature or a bug by the way.
But it make sense I think to move the sql script inside the models folder it it's actually a folder.