#30302: forms.models.model_to_dict fails when `fields` is empty list
-------------------------------------+-------------------------------------
Reporter: Belegnar | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):
* version: 2.1 => master
* type: Bug => Cleanup/optimization
Comment:
`model_to_dict()` is a part of private API. Do you have any real use case
for passing empty list to this method?
--
Ticket URL: <https://code.djangoproject.com/ticket/30302#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/066.b8915c58f26352b2a3f3c1ab4359024e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.