the FK constraint event is described here:

http://docs.sqlalchemy.org/en/rel_0_8/dialects/sqlite.html#foreign-key-support

this code can go whereever it is you build your engine, in env.py, or elsewhere.

If the above isn't working, check the prerequisites mentioned, especially 
version of sqlite in use when you run Python (which can be different than the 
version of SQLite you get when you type "sqlite3").



On Dec 4, 2012, at 4:19 PM, junepeach wrote:

> I have tried this with no luck. 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/sqlalchemy/-/WIhv75pJw3gJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sqlalchemy?hl=en.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to