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/a/r/archfinch-HEAD/main/tasks.py   archfinch(Download)
def recommend(category, start, users):
    return Item.objects.recommended(users, category=category)[start:start+101]
 
 
@task

src/a/r/archfinch-HEAD/lists/views.py   archfinch(Download)
def overview(request):
    if request.user.is_authenticated():
        your_lists = request.user.list_set.all()
        recommended = Item.objects.recommended([request.user], category_id=8)  # get recommended lists
    return render_to_response('lists/overview.html', locals(), context_instance=RequestContext(request))