Also, don't forget to include an __init__.py file in all of your project subfolders.
-Marzia On Fri, Oct 10, 2008 at 3:44 AM, Sylvain <[EMAIL PROTECTED]> wrote: > > from model.blog import Blogger > I think. > > On 10 oct, 10:51, "David Symonds" <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---