summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authoradityacp2016-11-18 14:26:08 +0530
committeradityacp2016-11-18 14:26:08 +0530
commit95c8c368d9f34cb05c5edd90f8697ec5d00c5a92 (patch)
treef097d00b3378a7948e6289cdce733a37198bee24 /yaksh/models.py
parent70a96748e8ad240c0038f657d292a2e000355ace (diff)
downloadonline_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/models.py')
-rw-r--r--yaksh/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index f048126..2018198 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -402,7 +402,7 @@ class FileUpload(models.Model):
self.extract = True
self.save()
- def set_hide_status(self):
+ def toggle_hide_status(self):
if self.hide:
self.hide = False
else: