On Aug 2, 2007, at 2:01 AM, Jens Diemer wrote: > > We have the shortcut get_or_create() [1], but whats about a > create_or_update() ? > > [1] http://www.djangoproject.com/documentation/db-api/#get-or- > create-kwargs
The shortcut already exists, it's called save(). http://www.djangoproject.com/documentation/db-api/#how-django-knows- to-update-vs-insert Don --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---