From fe63b61f66dd08aee2c8742045aabdb2e2354977 Mon Sep 17 00:00:00 2001 From: jordan Date: Mon, 11 Apr 2011 16:44:15 +0000 Subject: [PATCH 1/1] OSQA-387, the concept of having a default birthday date is dubious, so we just remove it. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@969 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/forms/qanda.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/forum/forms/qanda.py b/forum/forms/qanda.py index e107ad2..afe166c 100644 --- a/forum/forms/qanda.py +++ b/forum/forms/qanda.py @@ -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 -- 2.39.5