summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdam Chainz <me@adamj.eu>2016-11-24 11:01:36 +0000
committerTim Graham <timograham@gmail.com>2016-11-24 06:01:36 -0500
commit92bbef8b9ecb8e66e578ecf24ca6a6625eb1316a (patch)
treed0143d0fb0a8714fb1f927c91d7e1105c5b32ebb /docs
parentf095b249baf34bbdd4c0b28c9bde05b4d20681be (diff)
Improved the way Model.save() skips the auto_field.
Identity comparison is quicker than isinstance(), and it avoids coupling between Model and AutoField.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions