Add help text and trans
This commit is contained in:
parent
a1bcc2cb46
commit
8ba39a1f97
6 changed files with 85 additions and 22 deletions
|
@ -106,10 +106,16 @@ class ProblemData(models.Model):
|
|||
validators=[FileExtensionValidator(allowed_extensions=["cpp"])],
|
||||
)
|
||||
fileio_input = models.TextField(
|
||||
verbose_name=_("input file name"), blank=True, null=True
|
||||
verbose_name=_("input file name"),
|
||||
blank=True,
|
||||
null=True,
|
||||
help_text=_("Leave empty for stdin"),
|
||||
)
|
||||
fileio_output = models.TextField(
|
||||
verbose_name=_("output file name"), blank=True, null=True
|
||||
verbose_name=_("output file name"),
|
||||
blank=True,
|
||||
null=True,
|
||||
help_text=_("Leave empty for stdout"),
|
||||
)
|
||||
|
||||
__original_zipfile = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue