(*toggles)
return decorator
Return a view decorator for allowing access if any of the given toggles are
    enabled. Example usage:

    @toggles.any_toggle_enabled(REPORT_BUILDER, USER_CONFIGURABLE_REPORTS)
    def delete_custom_report():
        pass
Return a view decorator for allowing access if any of the given toggles are
    enabled. Example usage:
Return a view decorator for allowing access if any of the given toggles are enabled . Example usage :
def any_toggle_enabled(*toggles):
    """
    Return a view decorator for allowing access if any of the given toggles are
    enabled. Example usage:

    @toggles.any_toggle_enabled(REPORT_BUILDER, USER_CONFIGURABLE_REPORTS)
    def delete_custom_report():
        pass

    """

    def decorator(view_func):
        @wraps(view_func)
        def wrapped_view(request, *args, **kwargs):
            for t in toggles:
                if t.enabled_for_request(request):
                    return view_func(request, *args, **kwargs)
            raise Http404()

        return wrapped_view

    return decorator
def any_toggle_enabled ( * toggles ) : def decorator ( view_func ) : @ wraps ( view_func ) def wrapped_view ( request , * args , * * kwargs ) : for t in toggles : if t . enabled_for_request ( request ) : return view_func ( request , * args , * * kwargs ) raise Http404 ( ) return wrapped_view return decorator