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

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

        @register.filter
def wikify(s):
    from django.core.urlresolvers import reverse
    wiki_root = reverse('docs.views.index', args=[], kwargs={})
    return wikifier.sub(r'\1' % wiki_root, s)
        


src/d/j/djangy-HEAD/src/server/master/web_ui/application/web_ui/docs/models.py   djangy(Download)
from django.db import models
 
from templatetags.wiki import wikify
 
 
    def save(self, *args, **kwargs):
        self.rendered = wikify(self.content)
        super(Page, self).save(*args, **kwargs)