diff options
| author | Adam Chainz <me@adamj.eu> | 2016-11-24 11:01:36 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-24 06:01:36 -0500 |
| commit | 92bbef8b9ecb8e66e578ecf24ca6a6625eb1316a (patch) | |
| tree | d0143d0fb0a8714fb1f927c91d7e1105c5b32ebb /docs | |
| parent | f095b249baf34bbdd4c0b28c9bde05b4d20681be (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
