The Check Domain function is in teh same file 

def check_domain(form, field):
    "check domain"
    domain = field.data.split('@')[1]
    try:
        Session.query(Domain).filter(Domain.name == domain).one()
    except NoResultFound:
        raise validators.ValidationError(
                    _(u'The domain: %(dom)s is not local')
                    % dict(dom=domain)
                )


but i cant see how to edit it to work with the alldomains view from the sql 

anyone got any ideas where the change could be made? 



--
View this message in context: 
http://baruwa-users-list.963389.n3.nabble.com/Alias-Domain-adding-to-user-account-The-domain-xxxxxxxxxxxxxxxx-com-is-not-local-tp4027467p4027555.html
Sent from the Baruwa users list mailing list archive at Nabble.com.

_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to