Beispiel #1
0
def get_ad(name):
    ad = AdministrativeDomain(name=name, parent=get_root_ad())
    ad.save()
    return ad
Beispiel #2
0
def get_root_ad():
    ad = AdministrativeDomain(name="Discovery Tests")
    ad.save()
    return ad