#29590: get_or_create and update_or_create should not have defaults as an
optional
parameter
-------------------------------------+-------------------------------------
Reporter: Álex | Owner: nobody
Córcoles |
Type: New | Status: new
feature |
Component: Database | Version: 2.0
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hi,
I think this would prevent errors as code which puts fields in defaults
which should be kwargs will work the first time and would pass basic
testing, but fail the second time it's executed.
Kind regards,
Álex
--
Ticket URL: <https://code.djangoproject.com/ticket/29590>
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/050.860fdee302fc53dec72001f3aa94b472%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.