#14204: Take advantage of SQLite support for FK constraints
-------------------------------------+-------------------------------------
     Reporter:  ramiro               |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  sqlite, foreign key  |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by wkschwartz):

 +1 on getting this patch merged in. For what it's worth, the patch's
 implementation of `_check_fk_constraint_support` looks correct to me based
 on my reading of the [http://www.sqlite.org/foreignkeys.html#fk_enable
 SQLite documentation]. My only question about the patch is whether the
 `PRAGMA` needs to be issued on every new connection as the patch does, or
 only once when the database is created.

--
Ticket URL: <https://code.djangoproject.com/ticket/14204#comment:13>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.7c90ae65ff0595aa7bad70c4b329c9df%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to