Changes between Initial Version and Version 1 of Ticket #13879, comment 8


Ignore:
Timestamp:
May 22, 2011, 6:58:54 AM (14 years ago)
Author:
Jannis Leidel

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 to 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.::
     1I'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.::
    22
    33{{{
Back to Top