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
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'],
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
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=
4 matches
Mail list logo