'Middleware entry point on every request processing. This will associate a request\'s domain name
with a \'University\' and any corresponding microsite configuration information'

def process_request(self, request):

    microsite.clear()
    domain = request.META.get('HTTP_HOST', None)
    microsite.set_by_domain(domain)
    return None
