diff options
author | adityacp | 2016-11-18 14:26:08 +0530 |
---|---|---|
committer | adityacp | 2016-11-18 14:26:08 +0530 |
commit | 95c8c368d9f34cb05c5edd90f8697ec5d00c5a92 (patch) | |
tree | f097d00b3378a7948e6289cdce733a37198bee24 /yaksh/views.py | |
parent | 70a96748e8ad240c0038f657d292a2e000355ace (diff) | |
download | online_test-95c8c368d9f34cb05c5edd90f8697ec5d00c5a92.tar.gz online_test-95c8c368d9f34cb05c5edd90f8697ec5d00c5a92.tar.bz2 online_test-95c8c368d9f34cb05c5edd90f8697ec5d00c5a92.zip |
changed function name from set_hide_status to toggle_hide_status
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') |