Add file io
This commit is contained in:
parent
c9091f2e75
commit
a1bcc2cb46
7 changed files with 154 additions and 80 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue