def render(self, context):        
        site_domain = getattr(settings, "SITE_DOMAIN", None) or Site.objects.get_current().domain
        list_keys = []
        result_list = []
        for key, value in self.properties.items():
            if type(value) == list:
                list_keys.append([(key, item) for item in value])
            else:
                result_list.append(self.render_tag(key, value, context))
        if len(list_keys) > 0:
            for item in roundrobin(*list_keys):
                result_list.append(self.render_tag(item[0], item[1], context))
        return u'\n'.join(result_list)
dataset/ETHPy150Open saippuakauppias/django-simple-open-graph/simple_open_graph/templatetags/simple_open_graph.py/OpenGraphNode.render/original