summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authormahesh2016-04-27 00:20:46 +0530
committermahesh2016-05-04 11:21:47 +0530
commit1341166e68e94c9cfccad403acaa24f2fd26668f (patch)
treef6bf7b7bb92d07853353e584b51e978e2bf0f649 /yaksh/models.py
parent93cccd1e3b579eed644756e86100444b2d346f64 (diff)
downloadonline_test-1341166e68e94c9cfccad403acaa24f2fd26668f.tar.gz
online_test-1341166e68e94c9cfccad403acaa24f2fd26668f.tar.bz2
online_test-1341166e68e94c9cfccad403acaa24f2fd26668f.zip
removed a duplicated method
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index 86d718e..af52e22 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -508,9 +508,6 @@ class AnswerPaperManager(models.Manager):
return self.filter(question_paper=questionpaper, user=user)\
.order_by('-attempt_number')
- def get_user_all_attempts(self, questionpaper,user):
- return self.filter(question_paper=questionpaper, user= user).order_by('-attempt_number')
-
###############################################################################
class AnswerPaper(models.Model):