summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-03-11 05:36:10 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-03-11 05:36:10 +0000
commit3176bebffd7a7e3ba131da2d1b3f9776e159f0a8 (patch)
tree8294d46b9d27c5838e4a6d5a86dd1ef7ed9f9323 /scripts
parent619576002d538094dde7293d970bc4698ecdbef5 (diff)
queryset-refactor: Reorganised Model.save() to differentiate between public and private parameters. Refs #6741.
This means subclasses can override save() without needing to worry about passing around the internal parameters (an issue for subclassable models, which would have meant every model, since you don't know when somebody will subclass your model). Slightly backwards incompatible, since it moves "raw" back to being part of the internal API (it's only needed by the serializer and was intended to be internal use only). If external code really needs this, they can call Model.save_base() and pass in raw there. git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions