]> git.openstreetmap.org Git - osqa.git/commitdiff
OSQA-387, the concept of having a default birthday date is dubious, so we just remove it.
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 11 Apr 2011 16:44:15 +0000 (16:44 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 11 Apr 2011 16:44:15 +0000 (16:44 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@969 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/forms/qanda.py

index e107ad2f53691a118c24dc7c6447cfcd0080eb66..afe166ce6b4302e85e08ba11bbac164ce145857b 100644 (file)
@@ -296,8 +296,7 @@ class EditUserForm(forms.Form):
 
         if user.date_of_birth is not None:
             self.fields['birthday'].initial = user.date_of_birth
-        else:
-            self.fields['birthday'].initial = '1990-01-01'
+
         self.fields['about'].initial = user.about
         self.user = user