From: Oleg B. <ph...@ph...> - 2011-11-05 14:58:16
|
On Sat, Nov 05, 2011 at 06:52:03PM +0400, Oleg Broytman wrote: > * ForeignKey('Table', refColumn='refcol_id') to allow ForeignKey to > point to a non-id column; the referred column must be a unique integer > column. Consider this as an experimental feature. Use with care and test thoroughly. Please note - MultipleJoin still uses `id` column. > * Quoting rules changed for PostgreSQL: SQLObject uses E'' escape string > if the string contains characters escaped with backslash. Take care if you have your own objects that implement __sqlrepr__ - if you have code like sqlrepr(obj)[1:-1] to remove quotes - it should be written now as unqoute_str(sqlrepr(obj)). Code like "'%s'" % str should be now quote_str(str). Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |