Hi,

Be sure to include an __init__.py file in the DataModels folder.

-Marzia

On Wed, Mar 18, 2009 at 6:22 AM, Ronn Ross <[email protected]> wrote:

> I have placed my data model in a separate folder. For example:
> DataModels/AccountData.py
>
> Now I want to import it into my main controller. I'm trying:
> from DataModels.AccountData import Accounts
>
> it give me this error when I try to run it:
> *<type 'exceptions.ImportError'>*: No module named AccountData
>       args = ('No module named AccountData',)
>       message = 'No module named AccountData'
>
> What am I doing wrong. Can someone help? thx
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
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