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

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

        @register.simple_tag
def page_query(request, page_num):
    qs = request.GET.copy()
    qs['page'] = page_num
    return qs.urlencode().replace('&', '&')
        


src/d/j/django-knowledge-HEAD/tests/mock/tests/templatetags.py   django-knowledge(Download)
from django.test.client import RequestFactory
 
from mock.tests.base import TestCase
 
from knowledge.templatetags.knowledge_tags import get_gravatar, page_query