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

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

src/a/r/archfinch-HEAD/search/views.py   archfinch(Download)
            select_params=[request.user.id])
 
    tags = Tag.objects.filter(name__in=modifiers['tag'])
    for tag in tags:
        results = results.filter(tag=tag.id)     
def tag_search(request):
    query = request.GET['term']
 
    if settings.DEBUG: 
        tags = Tag.objects.filter(name__contains=query)
    else:
        tags = Tag.objects.filter(name__icontains=query)

src/a/r/archfinch-HEAD/main/views.py   archfinch(Download)
        category = None
        tag_names = tag_names.split('/')
        tags = Tag.objects.filter(name__in=tag_names)
        selected_tags = tag_names