I have a app divided in 5 modules (see my beautiful ascii art) Each have their own directory, just like this structure
AppEngine App <--Here's the dispatch.yaml
---------------------
| | | | |
| | | | |
Mod1 Mod2 Mod3 Mod4 Mod5
^ ^
\__Here's the models |__ Here i wanna read the models
.py file
with the __init__.py
The NDB models are defined in one module (mod1 by example) and i wanna read some data in the Mod5, the official documentation says that's posible, but i can't do it. I'm importing the model in this ways
#this is in mod5 py file
import Mod1.models # No module named Mod1.models
from Path.Mod1 import models #No module named Path.Mod1
from Mod1 import models #No module named Mod1
from Mod1.models import specific_model #No module named Mod1.models
from Path.models import specific_model #No module named Path.models
I change the --storage_path setting to each module to be able tu run all modules at the same time in the launcher, i think that could be the problem. But if i leave the same directory how can run at the same time all the modules (i got "OperationalError: database is locked" error) Any clue here?