diff options
author | Dan McGee <dan@archlinux.org> | 2013-02-09 16:43:40 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-02-09 16:50:45 -0600 |
commit | 5566d43a7734f6bb2f48d5d511351da12ddc5cc1 (patch) | |
tree | d575d2c100a039100771fdc9ed056d33da23b6c3 /news/models.py | |
parent | 8524a6057c4b99a620850494a22eb3d1f56bee68 (diff) |
Use 'update_fields' model.save() kwarg
This was added in Django 1.5 and allows saving only a subset of a
model's fields. It makes sense in a few cases to utilize it.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'news/models.py')
0 files changed, 0 insertions, 0 deletions