quiz/models.py
changeset 87 e81b105b1128
parent 86 404e9c1b8cff
--- a/quiz/models.py	Thu Jul 01 17:05:57 2010 +0530
+++ b/quiz/models.py	Fri Jul 02 14:12:25 2010 +0530
@@ -43,18 +43,6 @@
     time_limit = models.PositiveSmallIntegerField()
     expected_ans = models.TextField()
 
-    def get_values(self):
-
-        values_dict = {"quiz_num" : self.quiz_num,
-                       "topic" : self.topic,
-                       "description" : self.description,
-                       "code" : self.code,
-                       "options" : self.options,
-                       "time_limit" : self.time_limit,
-                       "expected_ans" : self.expected_ans,
-                      }
-        return values_dict
-
     def __unicode__(self):
 
         return self.description