Merge pull request #1028 from manfre/patch-2

Fixed #20340 - document required return value for disable_constraint_checking
This commit is contained in:
Aymeric Augustin 2013-05-19 04:17:08 -07:00
commit a7e2835276
1 changed files with 3 additions and 2 deletions

View File

@ -390,9 +390,10 @@ class BaseDatabaseWrapper(object):
def disable_constraint_checking(self):
"""
Backends can implement as needed to temporarily disable foreign key
constraint checking.
constraint checking. Should return True if the constraints were
disabled and will need to be reenabled.
"""
pass
return False
def enable_constraint_checking(self):
"""