Use functools.wraps for all the decoraters
Currently all the decorators defined in postorius.auth.decorators
don't use functools.wraps
which results in all the function names in the traces to be wrapper
instead of the actual function name.
This is an easy fix to add:
def list_owner_required(f)
@wraps(f)
def wrapper(*args, **kwargs):
pass
To all the decorators defined.