On Fri, Jan 8, 2010 at 7:17 AM, [email protected] <[email protected]> wrote:
> With MultiDB, it's now essential that custom model save methods accept
> the "using" keyword argument. However, the docs explicitly suggest a
> signature like:
>
> def save(self, force_insert=False, force_update=False):
>
> (You can see this here, for example:
> http://docs.djangoproject.com/en/dev/topics/db/models/#overriding-predefined-model-methods)
>
> I would suggest the docs ought to instruct users to use a signature
> like:
>
> def save(self, *args, **kwargs):

I've just updated the docs to say exactly that. Thanks for the suggestion.

Russ %-)
-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en.


Reply via email to