#32399: Allow method_decorator() to accept a list/tuple of method names.
--------------------------------+--------------------------------------
Reporter: Alexey Kotenko | Owner: nobody
Type: New feature | Status: closed
Component: Utilities | Version: master
Severity: Normal | Resolution: wontfix
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: => wontfix
Comment:
Thanks for this proposition, I'm not sure it is worth additional
complexity. `@method_decorator` already supports multiple decorators,
supporting multiple methods would require a signature change (so a
backward incompatible change with a deprecation of the current signature,
etc.) or maybe a new decorator e.g. `@methods_decorator` (probably
confusing). Nevertheless we could evaluate a patch if you want to prepare
a proof of concept.
--
Ticket URL: <https://code.djangoproject.com/ticket/32399#comment:3>
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/063.2517029fcd8f6c14eb2266d7206a2b7e%40djangoproject.com.