

def __init__(self, request):
    self.subdomain = request.host.split('.')[0]
    subdomain_split = self.subdomain.split('_')
    subdomain_underscores_converted = ' '.join(subdomain_split)
    subdomain_double_hyphens_converted = ' '.join(subdomain_underscores_converted.split('--'))
    self.subdomain_as_string = subdomain_double_hyphens_converted
    self.year = date.today().year

dataset/ETHPy150Open waharnum/inlibraries.com/in_libraries.py ConferenceRequest.__init__/original