Are you using the MyISAM or InnoDB storage type? MyISAM does not  
support integrity constraints, afaik.

Erik

On 01.10.2008, at 16:44, Chris 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.
> >


--~--~---------~--~----~------------~-------~--~----~
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