#35459: Case.extra is undocumented, untested, and can hide potential issues
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Priyank
Type: | Panchal
Cleanup/optimization | Status: assigned
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Lily):
I think we should remove `**extra` (possibly with a deprecation cycle) for
the builtin `Func` subclasses. This is a lot of complexity for a pretty
rare scenario. I think if a vendor needs to require/allow extra arguments
to a custom template, that's the point at which they should provide a
custom subclass.
--
Ticket URL: <https://code.djangoproject.com/ticket/35459#comment:19>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019b0a61ab5c-c8203e75-f746-4f97-94ae-f8b94266005e-000000%40eu-central-1.amazonses.com.