Browse Source

Fix wrong default on Contrib.status

Jocelyn Delande 9 years ago
parent
commit
6f276c3b02
1 changed files with 4 additions and 5 deletions
  1. 4 5
      wifiwithme/apps/contribmap/models.py

+ 4 - 5
wifiwithme/apps/contribmap/models.py

@@ -92,11 +92,10 @@ class Contrib(models.Model):
 
     status = models.CharField(
 		    blank=True,
-		    null=True, 
-		    max_length= 250, 
-		    choices=CONNECTABILITY, 
-		    default='A_ETUDIER')
-
+		    null=True,
+		    max_length= 250,
+		    choices=CONNECTABILITY,
+		    default=STATUS_TOSTUDY)
 
     class Meta:
         managed = True