On 1 oct, 15:44, Chris <[EMAIL PROTECTED]> wrote:
> I'm running MySQL as my backend, and I've noticed Django doesn't
> create "real" foreign keys for the ForeignKey column. Just indexes. Is
> this by design, or am I somehow misusing ForeignKey()?
> I found http://code.djangoproject.com/ticket/5729, which seems to
> directly address this. It's marked as "fixed", but I'm still
> experiencing the problem even though I'm using the current trunk.

Note that it only concerns the INNODB engine - So far, MyISAM doesn't
support foreign keys, cf:
http://dev.mysql.com/doc/refman/5.1/en/ansi-diff-foreign-keys.html


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

Reply via email to