def METHOD_NAME(sender, instance, created, **kwargs):
    if created:
        try:
            GroupSite.objects.create(group=instance)
        except Exception as e:
            msg = "\n Create groupsite profile ***** Error:%r" % e
            msg += "\n%s" % traceback.format_exc()
            logger.error(msg)
            print(msg)