Commit ID 365853da016f242937a657b488514e2f69fa6d82
|
Contributor: | Andrei Antoukh | Files Modified: | 8 |
| Date: | 12-May-2012 at 07:24 | Lines Added: | 226 | |
| Repository: | git://github.com/django/django.git master | Lines Removed: | 16 | |
| Commit Comment: | Fixed #4102 -- Allow update of specific fields in model.save() Added the ability to update only part of the model's fields in model.save() by introducing a new kwarg "update_fields". Thanks to all the numerous reviewers and commenters in the ticket |
|||
| Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| Python | 174 | 14 | 8 | 2 | 44 | 0 | |
| File | Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|---|
| django/db/models/base.py | Python | 32 | 12 | 5 | 2 | 4 | 0 | |
| django/db/models/signals.py | Python | 2 | 2 | 0 | 0 | 0 | 0 | |
| docs/ref/models/instances.txt | No source code was detected in this file. | |||||||
| docs/ref/signals.txt | No source code was detected in this file. | |||||||
| docs/releases/1.5.txt | No source code was detected in this file. | |||||||
| ...odeltests/update_only_fields/__init__.py | No source code was detected in this file. | |||||||
| .../modeltests/update_only_fields/models.py | Python | 24 | 0 | 0 | 0 | 13 | 0 | |
| ...s/modeltests/update_only_fields/tests.py | Python | 116 | 0 | 3 | 0 | 27 | 0 | |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.