My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Faq  
Faq
Phase-Support
Updated Mar 5, 2010

FormAlchemy Frequently Asked Questions

0.3

No FAQs yet.

0.2

Why are my fields filled with '<sqlalchemy.orm.attributes.InstrumentedAttribute object at 0xaa1356c>' or 'Property(col, <class 'project.model.mymodel.Class'>)' rather than the actual value?

Because you are probably passing an uninstantiated class. Make sure you instantiate your !SQLAlchemy class before passing it to FormAlchemy.

Comment by nickjby...@gmail.com, Dec 20, 2007

When instantiating objects -

Remember if your using autoflush=True in your SQLAlchemy session to remove the new object from your session with model.session.expunge(myobject) or you'll most likely get an error (if your table/object/entity columns which are defined as non null etc) or a new entry in your database if not - which you probably don't want.


Sign in to add a comment
Powered by Google Project Hosting