#25086: Allow mass-update of fields in unpersisted model instances
-------------------------------+--------------------------------------
Reporter: yoongkang | Owner: nobody
Type: New feature | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by yoongkang):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> Sometimes we have an unpersisted model instance generated from, say, a
> factory. Before saving this to the database, we might want to do some
> additional processing to update the fields.
>
> I think it's a good idea to provide a helper method in the Model class to
> mass update the fields, particularly if it's a field with many fields.
New description:
Sometimes we have an unpersisted model instance generated from, say, a
factory. Before saving this to the database, we might want to do some
additional processing to update the fields.
I think it's a good idea to provide a helper method in the Model class to
mass update the fields, particularly if it's a model with many fields.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/25086#comment:1>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.a924afbe52b672c52a51b8b7bad66de2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.