#25955: FK constraints are not checked at the end of nested atomic blocks -------------------------------------+------------------------------------- Reporter: aklim007 | Owner: nobody Type: Bug | Status: new Component: Database layer | Version: master (models, ORM) | Severity: Normal | Resolution: Keywords: DEFERRED | Triage Stage: transaction.atomic savepoint | Unreviewed postgresql | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by aklim007): How about adding a parameter in OPTIONS? {{{ #!div style="font-size: 80%" Code highlighting: {{{#!python DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', # ... 'OPTIONS': { 'savepoint_check_constraints': True } }, } }}} full backward compatibility add patch -- Ticket URL: <https://code.djangoproject.com/ticket/25955#comment:5> 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/066.ab45a4ded4451b8066883b9eda1f2cf2%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.