On Fri, Oct 10, 2008 at 7:20 PM, James <[EMAIL PROTECTED]> wrote:
>
> Importing models from other files isn't working.
>
> for instance,
>
> model/blog.py
>
> class Blogger(db.Model)
>         ....
>
> model/user.py
>
> class BlogUserl(db.Model):
>  blogger = db.ReferenceProperty(Blogger...)

from blog import Blogger

That should work just fine. What's the exact error message you are getting?


Dave.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to