def validate_delegation_conditions(self):
        if not (self.domain and self.domain.delegated):
            return
        if self.domain.nameserver_set.filter(server=self.fqdn).exists():
            return
        else:
            # Confusing error messege?
            raise ValidationError(
                "You can only create an A records in a delegated domain that "
                "has an NS record pointing at it."
            )
Generate a version based on git tag info. This will write the
dataset/ETHPy150Open mozilla/inventory/mozdns/address_record/models.py/BaseAddressRecord.validate_delegation_conditions--crossover with--dataset/ETHPy150Open couchbase/couchbase-python-client/couchbase_version.py/gen_version