Beispiel #1
0
def solution_run_checker(request, solution_id):
    solution = Solution.objects.get(pk=solution_id)
    check(solution, True)
    # Since Django suxx (see https://code.djangoproject.com/ticket/8764) and cant mix args with kwargs in reverse(),
    # we suck too, and just mess around with the url
    return HttpResponseRedirect(
        reverse('solution_detail', args=[solution_id]) + 'full')
Beispiel #2
0
	def check(self, run_secret = 0): 
		"""Builds and tests this solution."""
		from checker.models import check
		check(self, run_secret)
Beispiel #3
0
	def check(self, run_secret = 0): 
		"""Builds and tests this solution."""
		from checker.models import check
		check(self, run_secret)
Beispiel #4
0
def solution_run_checker(request,solution_id):
	solution = Solution.objects.get(pk=solution_id)
	check(solution,True)
	# Since Django suxx (see https://code.djangoproject.com/ticket/8764) and cant mix args with kwargs in reverse(),
	# we suck too, and just mess around with the url
	return HttpResponseRedirect(reverse('solution_detail', args=[solution_id]) + 'full')
Beispiel #5
0
def solution_run_checker(request,solution_id):
	solution = Solution.objects.get(pk=solution_id)
	check(solution,True)
	return HttpResponseRedirect(reverse('solution_detail_full', args=[solution_id]))
Beispiel #6
0
def solution_run_checker(request, solution_id):
    solution = Solution.objects.get(pk=solution_id)
    check(solution, True)
    return HttpResponseRedirect(
        reverse('solution_detail_full', args=[solution_id]))