'Returns the microsite associated with this domain. Note that we always convert to lowercase, or
None if no match'

@classmethod
def get_microsite_for_domain(cls, domain):

    domain = domain.split(':')[0]
    microsites = cls.objects.filter(site__domain__iexact=domain)
    return (microsites[0] if microsites else None)
