Changes between Initial Version and Version 1 of Ticket #13879, comment 8
- Timestamp:
- May 22, 2011, 6:58:54 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13879, comment 8
initial v1 1 I'm not terribly happy with the `..with_args` suffix (same for `decorator_from_middleware_with_args`). It feels weird to having to remember t o different function names that do basically the same. Especially for decorators that take arguments optionally I'd appreciate if the `method_decorator` function would simply allow me to pass the arguments for the decorator optionally, too. E.g.::1 I'm not terribly happy with the `..with_args` suffix (same for `decorator_from_middleware_with_args`). It feels weird to having to remember two different function names that do basically the same. Especially for decorators that take arguments optionally I'd appreciate if the `method_decorator` function would simply allow me to pass the arguments for the decorator optionally, too. E.g.:: 2 2 3 3 {{{