Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django disable foreign key checks temporary

from django.db import connection
with connection.constraint_checks_disabled():
    do_stuff()
 
PREVIOUS NEXT
Tagged: #django #disable #foreign #key #checks #temporary
ADD COMMENT
Topic
Name
5+3 =