Hi Vineet,

Thank you! Absolutely - you understood my question properly.
It seems that solution is very simple, I am so overwhelmed 
with this porting that sometimes I oversee the simplest
solutions ;)

So if I put it under site-packages like this:
site-packages/models
site-packages/definitions

I can import them from everywhere 
from site-packages.models import models
from site-packages.models import definitions

and in /models I have:

class MyClass(db_google.Model)
     name = dg_google.string(...)
     def profile(self, id)
           <some code>

Then I can the model like this:

myclass = MYClass.profile(id)
name = myclass.name

Is that right?

Reply via email to