(domain)
There should only ever be one!
There should only ever be one!
There should only ever be one!
def iter_all_domains_and_deleted_domains_with_name(domain):
    """There should only ever be one!"""
    yield from Domain.view('domain/deleted_domains', key=domain, reduce=False, include_docs=True).all()
    yield from Domain.view('domain/domains', key=domain, reduce=False, include_docs=True).all()
def iter_all_domains_and_deleted_domains_with_name ( domain ) : yield from Domain . view ( 'domain/deleted_domains' , key = domain , reduce = False , include_docs = True ) . all ( ) yield from Domain . view ( 'domain/domains' , key = domain , reduce = False , include_docs = True ) . all ( )