diff options
Diffstat (limited to 'yaksh/views.py')
-rw-r--r-- | yaksh/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py index 2eeef90..b6cf578 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -193,7 +193,7 @@ def edit_question(request, question_id=None): if hide_files_id: files = FileUpload.objects.filter(id__in=hide_files_id) for file in files: - file.set_hide_status() + file.toggle_hide_status() if question_form.is_valid(): new_question = question_form.save(commit=False) test_case_type = question_form.cleaned_data.get('test_case_type') |