#12514: Wrong Model.save() signature in topics/models and ref/models/instance
-------------------------------------+--------------------------------------
Reporter: Armando Pérez Marques | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------------------+--------------------------------------
With the new multi-db option, now Model.save() takes the adittional
parameter 'using' specifying what DB connection to use to save the object.
But in the docs, it stills shows this: Model.save([force_insert=False,
force_update=False]). I realize of this because I have some models with
the save() method redefined, and when updated Django to trunk version, it
starts complaining about an extra keyword parameter, 'using'. I
temporarily solved this using my_model.save(self, *args, **kwargs), but it
would be nice not to use this magic syntax.
--
Ticket URL: <http://code.djangoproject.com/ticket/12514>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.