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
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.c
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
--
Mfg.
Jens Diemer
A django powered CMS: http://www.pylucid.org
--~--~-~--~~~---~--~~
You rece
3 matches
Mail list logo