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

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

src/d/j/django-knowledge-HEAD/knowledge/models.py   django-knowledge(Download)
    def get_absolute_url(self):
        from django.template.defaultfilters import slugify
 
        if settings.SLUG_URLS:
            return ('knowledge_thread', [self.id, slugify(self.title)])

src/d/j/django-knowledge-0.2.0/knowledge/models.py   django-knowledge(Download)
    def get_absolute_url(self):
        from django.template.defaultfilters import slugify
 
        if settings.SLUG_URLS:
            return ('knowledge_thread', [self.id, slugify(self.title)])

src/d/j/django-knowledge-HEAD/tests/mock/tests/settings.py   django-knowledge(Download)
 
        ############# flip setting ##############
        settings.SLUG_URLS = not settings.SLUG_URLS
        ############# flip setting ##############
 
 
        ############# flip setting ##############
        settings.SLUG_URLS = not settings.SLUG_URLS
        ############# flip setting ##############