Code

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


Ignore:
Timestamp:
05/22/11 04:58:54 (3 years ago)
Author:
jezdez
Comment:

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{{{