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/m/a/mattespill-HEAD/main/views.py   mattespill(Download)
				# The Meta.ordering defined in model will sort
				# the result ascending on Result.index
				result = Result.objects.filter(turn=turn, answer='')[:1]
				if not result:
					return render_to_response('room.html', {'turn': turn, 'user': request.user})
			turn = get_object_or_404(Turn, room=room_id, user=request.user, complete=False)
			count = Result.objects.filter(turn=turn).count()
			result = Result.objects.filter(turn=turn, answer='')[0]
			profile = request.user.get_profile()