Permalink
Browse files

Fixed default testpair choices list name to all uppercase

  • Loading branch information...
1 parent 8836097 commit a1fb740ec261c99252fb8693231262cd3c2ae35c Pankaj Singh committed Feb 5, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 web_interface/contest/models.py
@@ -18,7 +18,7 @@
)
##The default set of choices for testpair weightage level
-DEFAULT_testpair_WEIGHTAGE_CHIOCES = (
+DEFAULT_TESTPAIR_WEIGHTAGE_CHIOCES = (
'low',
'medium',
'high',
@@ -104,7 +104,7 @@ def weightage_choices():
choices set or a default set.
'''
choices_set = getattr(settings, 'testpair_WEIGHTAGE_CHOICES',
- DEFAULT_testpair_WEIGHTAGE_CHIOCES)
+ DEFAULT_TESTPAIR_WEIGHTAGE_CHIOCES)
choices = tuple(enumerate(choices_set, 1))
return choices

0 comments on commit a1fb740

Please sign in to comment.