Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/j/django-concepts-0.5/concepts/templatetags/concepts_tags.py   django-concepts(Download)
    def render(self, context):
        obj = self.obj.resolve(context)
        ctype = ContentType.objects.get_for_model(obj)
        links = ConceptItem.objects.filter(object_id=obj.pk, content_type=ctype)
        context[self.variable_name] = links

src/d/j/django-concepts-HEAD/concepts/templatetags/concepts_tags.py   django-concepts(Download)
    def render(self, context):
        obj = self.obj.resolve(context)
        ctype = ContentType.objects.get_for_model(obj)
        links = ConceptItem.objects.filter(object_id=obj.pk, content_type=ctype)
        context[self.variable_name] = links