Mike, here is the source for the models:
https://github.com/ArtAPI/artFlask/blob/refactoring/model/__init__.py

I would really apprieciate your feedback on this, I'm really new to flask 
and SQLAlchemy.
The other source files (artList.py etc) are also there.

Thank you,
Andrey

четверг, 3 июля 2014 г., 17:33:09 UTC+3 пользователь Michael Bayer написал:
>
>
> On 7/3/14, 3:23 AM, trust...@gmail.com <javascript:> wrote: 
> > Hi, Michael, 
> > 
> > here is the stack trace: 
> >   File "/home/andrey/projects/art/artFlask/api/artList.py", line 30, 
> > in post 
> >     item = app_ctx.create_item_from_context() 
> >   File "/home/andrey/projects/art/artFlask/utils/app_ctx.py", line 53, 
> > in create_item_from_context 
> >     item = ModelClass(**data) 
> >   File "<string>", line 2, in __init__ 
>
> this means on line 30 of your artList.py class, the "Person" class 
> hasn't been set up yet, or was set up and failed to do so and for some 
> reason the error didn't get reported (such as if some unusual system of 
> loading modules were present). 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to