Re: Registration - adding first_name and last_name to form.

2008-10-11 Thread Karen Tracey
On Sat, Oct 11, 2008 at 4:39 AM, NoviceSortOf <[EMAIL PROTECTED]> wrote: > > These lines in forms.py > --- > 92. new_user = > > RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'], > 93. pass

Re: Registration - adding first_name and last_name to form.

2008-10-11 Thread NoviceSortOf
These lines in forms.py --- 92. new_user = RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'], 93. password=self.cleaned_data['password1'], 94. first_name=self.cleaned_data['first_name'],

Re: Registration - adding first_name and last_name to form.

2008-10-10 Thread Karen Tracey
On Fri, Oct 10, 2008 at 4:02 PM, NoviceSortOf <[EMAIL PROTECTED]> wrote: > > > I'm trying to add first_name and last_name to the registration form. > > Under class RegistrationForm(forms.Form) > > I add > > first_name = forms.RegexField(regex=r'^\w+$', >max_length

Registration - adding first_name and last_name to form.

2008-10-10 Thread NoviceSortOf
I'm trying to add first_name and last_name to the registration form. Under class RegistrationForm(forms.Form) I add first_name = forms.RegexField(regex=r'^\w+$', max_length=30, widget=forms.TextInput(attrs=attrs_dict), label=