On Aug 2, 3:01 am, Jens Diemer <[EMAIL PROTECTED]> wrote: > We have the shortcut get_or_create() [1], but whats about a > create_or_update() ?
One exists as a patch_. I've been using it with the current svn for a while without problems. I find that an update_or_create() shortcut is particularly helpful working with newforms and use it in quite a few places. The patch gets pinged every so often [1]_; it will likely make it into trunk eventually. .. patch: http://code.djangoproject.com/ticket/3182 .. [1] http://groups.google.com/group/django-developers/search?group=django-developers&q=3182 - whiteinge --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---