'Add a Site and SiteTheme record for the given domain and theme
Args:
domain: domain to which attach the new Site
theme: theme to apply on the new site'

def __add_site_theme__(self, domain, theme):

    (site, __) = Site.objects.get_or_create(domain=domain, name=domain)
    SiteTheme.objects.get_or_create(site=site, theme_dir_name=theme)
