#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
-------------------------------------+-------------------------------------
Comment (by אורי):
What is the case of starting an instance with an id in args? Is it a real
id or just `None`? I think we need the id to be set before calling
`save()`, we use the id for generating the file name and if it's just
`None` in args then we need to generate it.
--
Ticket URL: <https://code.djangoproject.com/ticket/33307#comment:5>
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.3f264f14ce4410c68aade8cd4cb318c8%40djangoproject.com.