changed models.py for new preference order.
authoranoop
Thu, 03 Jun 2010 19:22:41 +0530
changeset 28 1c2906cad944
parent 25 30baf3c635c5
child 203 3d0970ef6feb
changed models.py for new preference order.
.hgignore
sdi/models.py
--- a/.hgignore	Sat May 29 19:35:49 2010 +0530
+++ b/.hgignore	Thu Jun 03 19:22:41 2010 +0530
@@ -2,3 +2,4 @@
 *.pyc
 *.db
 *.swp
+*.*~
--- a/sdi/models.py	Sat May 29 19:35:49 2010 +0530
+++ b/sdi/models.py	Thu Jun 03 19:22:41 2010 +0530
@@ -4,19 +4,18 @@
                   ("F", "Female"),
                  )
 
-PYTHON_KNOWLEDGE_CHOICES = (("5", "Written production level code in Python"),
-                            ("4", "Been using Python for quite some time"),
+PYTHON_KNOWLEDGE_CHOICES = (("1", "No clue what Python is"),
+                            ("2", "I know for sure that Python is a language"),
                             ("3", "Solved some basic problems using Python"),
-                            ("2", "I know for sure that Python is a language"),
-                            ("1", "No clue what Python is"),
+                            ("4", "Been using Python for quite some time"),
+                            ("5", "Written production level code in Python"),
                            )
 
-SAGE_KNOWLEDGE_CHOICES = (("5", "Written production level code in Sage"),
-                          ("4", "Been using Sage for quite some time"),
+SAGE_KNOWLEDGE_CHOICES = (("1", "No clue what Sage is"),
+                          ("2", "I know for sure that Sage is a language"),
                           ("3", "Solved some basic problems using Sage"),
-                          ("2", "I know for sure that Sage is a language"),
-                          ("1", "No clue what Sage is"),
-                         )
+                          ("4", "Been using Sage for quite some time"),
+                          ("5", "Written production level code in Sage"),
 
 TOPICS_CHOICES = (("1", "Topic 1"),
                   ("2", "Topic 2"),