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/users/views.py   archfinch(Download)
                review.save()
 
            action, created = Action.objects.get_or_create(type=Action.types['review'], review=review, user=request.user)
            action.save()
 

src/a/r/archfinch-HEAD/main/tasks.py   archfinch(Download)
    opinion.save()
 
    action, created = Action.objects.get_or_create(type=Action.types['rating'], opinion=opinion, user=user)
    action.save()