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/views.py   archfinch(Download)
        return HttpResponse(json, mimetype='application/json')
 
    tasks.opinion_set.delay(request.user, item, rating)
 
    json = simplejson.dumps({'success': True})

src/a/r/archfinch-HEAD/main/forms.py   archfinch(Download)
        request.user.add_points(10)
        if self.model.__name__ == 'Link':
            tasks.opinion_set.delay(request.user, item, 4)
 
        return redirect(item.get_absolute_url())