Add file io

This commit is contained in:
cuom1999 2022-06-01 23:59:46 -05:00
parent c9091f2e75
commit a1bcc2cb46
7 changed files with 154 additions and 80 deletions

View file

@ -105,6 +105,12 @@ class ProblemData(models.Model):
upload_to=problem_directory_file,
validators=[FileExtensionValidator(allowed_extensions=["cpp"])],
)
fileio_input = models.TextField(
verbose_name=_("input file name"), blank=True, null=True
)
fileio_output = models.TextField(
verbose_name=_("output file name"), blank=True, null=True
)
__original_zipfile = None