#33307: Model got both positional and keyword arguments for field 'id'.
-------------------------------------+-------------------------------------
Reporter: אורי | Owner: nobody
Type: Uncategorized | Status: closed
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: invalid
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 Mariusz Felisiak):
* status: new => closed
* resolution: => invalid
* component: Uncategorized => Database layer (models, ORM)
Comment:
Thanks for the report. It's an intended change, see
73b1b225ce1a3318d4478f90cc0db0a260aba3aa and #22640. This error was added
to prevent misconfigurations when values for the same fields are passed in
`args` and `kwargs` as in your case.
--
Ticket URL: <https://code.djangoproject.com/ticket/33307#comment:4>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.688b6532bdd043c33564dc09f43727f5%40djangoproject.com.