{{cookiecutter.directory_name}}/apps/api/decorators.py
def require_apikey(view_func):
    """
    Require valid signature for specified endpoint
    :param view_func:
    :return:
    """
    def wrapped_view(*args, **kwargs):
        return view_func(*args, **kwargs)
    wrapped_view.require_apikey = True
    return wraps(view_func)(wrapped_view)

    Require valid signature for specified endpoint
    :param view_func:
    :return:
    
Require valid signature for specified endpoint
Require valid signature for specified endpoint
def require_apikey(view_func):
    def wrapped_view(*args, **kwargs):
        return view_func(*args, **kwargs)
    wrapped_view.require_apikey = True
    return wraps(view_func)(wrapped_view)
def require_apikey ( view_func ) : def wrapped_view ( * args , ** kwargs ) : return view_func ( * args , ** kwargs ) wrapped_view . require_apikey = True return wraps ( view_func ) ( wrapped_view )
Require valid signature for specified endpoint
Require valid signature for specified endpoint
"""
    Require valid signature for specified endpoint
    :param view_func:
    :return:
    """
None
view_func
None