pombreda / formalchemy

Automatically exported from code.google.com/p/formalchemy
MIT License
0 stars 0 forks source link

exclude discriminator columns #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
FormAlchemy seems to work with SQLAlchemy's table inheritance.

One thing I noticed is that the discriminator columns
should be omitted in the pylons admin extension.
I also noticed that the value I typed in the discriminator
field was ignored (that is fine).  So there is no reason 
to keep it shown.

Attached patch excludes the discriminator columns from FA
completely. It might be more appropriate to exclude the column
at application level.  Please review.  Thanks

Kenji Noguchi

Original issue reported on code.google.com by tokyo...@gmail.com on 31 Dec 2009 at 5:35

Attachments:

GoogleCodeExporter commented 9 years ago
patch applied. thanks

Original comment by gael.pas...@gmail.com on 5 Jan 2010 at 10:46