Skip to content

Commit

Permalink
Add export problem command
Browse files Browse the repository at this point in the history
  • Loading branch information
leduythuccs committed Oct 6, 2023
1 parent 5b8eb81 commit e26b407
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion judge/management/commands/export_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ def export_problem(code, export_code=None, prefix_name=''):
'time_limit': problem.time_limit,
'memory_limit': problem.memory_limit,
'short_circuit': problem.short_circuit,
'allow_view_testcase_status': problem.allow_view_testcase_status,
'submission_source_visibility_mode': problem.submission_source_visibility_mode,
'testcase_visibility_mode': problem.testcase_visibility_mode,
'testcase_result_visibility_mode': problem.testcase_result_visibility_mode,
'allow_view_feedback': problem.allow_view_feedback,
'points': problem.points,
'partial': problem.partial,
Expand Down

0 comments on commit e26b407

Please sign in to comment.