Re: [sqlalchemy] finding table/column name of unique constraint failure

2013-05-21 Thread lars van Gemerden
Thanks, Michael On Mon, May 20, 2013 at 12:52 AM, Michael Bayer mike...@zzzcomputing.comwrote: On May 19, 2013, at 4:39 AM, lars van gemerden l...@rational-it.com wrote: Hi all, I generate webpages in which end-users can input data that is stored in a database via sqla.The datamodel

[sqlalchemy] finding table/column name of unique constraint failure

2013-05-19 Thread lars van gemerden
Hi all, I generate webpages in which end-users can input data that is stored in a database via sqla.The datamodel is not pre-defined but created by (other) users/designers. My question is how can i best let the end-user know which field contains the error if the end-user violates a unique

Re: [sqlalchemy] finding table/column name of unique constraint failure

2013-05-19 Thread Michael Bayer
On May 19, 2013, at 4:39 AM, lars van gemerden l...@rational-it.com wrote: Hi all, I generate webpages in which end-users can input data that is stored in a database via sqla.The datamodel is not pre-defined but created by (other) users/designers. My question is how can i best let