def render(self, context):
        
        name = resolve_variable(self.name, context)
        if self.slugify:
            name = slugify(name)
            
        prefix = resolve_variable(self.prefix, context)
        if self.slugify:
            prefix = slugify(prefix)
            
        s_name = name
        if prefix:
            s_name = '%s%s%s' % (prefix, position_settings.CONBINE_STRING, name)
        
        context[self.varname] = None
        try:
            position = Position.objects.get(name__iexact=s_name)
            context[self.varname] = position
        except Position.DoesNotExist:
            pass
                        
        return ""
dataset/ETHPy150Open callowayproject/django-kamasutra/positions/templatetags/position_tags.py/PositionNode.render/original