#27919: Decide if attrs (and possibly others) are named or positional
parameters in
new widget rendering code
---------------------------------+------------------------------------
Reporter: Claude Paroz | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 1.11
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by Tim Graham):
My guess is the current code is the result of some refactoring along the
way. As far as I saw, `create_option()` is only called in that one spot,
so presumably `subindex` could be an `arg` instead, if there isn't a use
case for calling the method without it. I would say use your best judgment
and clean things up as you see fit.
--
Ticket URL: <https://code.djangoproject.com/ticket/27919#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 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/065.deb323ce77e8af104dd557cd26ec8280%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.