removed commands
This commit is contained in:
parent
5eab674222
commit
e259d2d146
@ -1,15 +0,0 @@
|
|||||||
from django.core.management.base import BaseCommand
|
|
||||||
|
|
||||||
from Main.models import Solution
|
|
||||||
from SprintLib.testers import *
|
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
|
||||||
help = 'Tests solution'
|
|
||||||
|
|
||||||
def add_arguments(self, parser):
|
|
||||||
parser.add_argument('solution_id', type=int)
|
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
|
||||||
solution = Solution.objects.get(id=options['solution_id'])
|
|
||||||
eval(solution.language.work_name + 'Tester')(solution).execute()
|
|
@ -1,8 +0,0 @@
|
|||||||
from django.core.management.base import BaseCommand
|
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
|
||||||
help = 'Updates languages'
|
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
|
||||||
pass
|
|
Loading…
Reference in New Issue
Block a user