On Sat, 2009-01-31 at 12:20 +1100, Malcolm Tredinnick wrote:
> On Fri, 2009-01-30 at 09:49 -0800, mucisland wrote:
> > Hi all.
> > 
> > If I specify the ForeignKey target model as a string because it is not
> > yet defined, the (SQLite3) SQL table entry misses the REFERENCES
> > specifier. Example:
> 
> SQLite doesn't support "references" constraints. So we don't bother
> writing them out (it doesn't support relations). There's no bug here.

When I said "doesn't support relations", I meant "doesn't *enforce*
relations* at the database level. You can still use foreign keys and
many-to-many fields and the like in Django. But the data integrity at
the database level isn't enforced by SQLite.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to