In the database it is 75, same here.  But the html widget was getting
rendered with maxlength=30.

I just realized I created a forms.py for it to define the html form.
It was in there, sorry for the dumb post.

Should move to newforms!

On Feb 9, 3:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> If you're having user registration, I think you're quickly going to
> want more than the builtin auth/user will give you.
> I'd take a look at extending the user 
> model:http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model
>
> Also, I'm not sure why it's giving you a maxlength of 30. In my
> database, email is 75 characters, and I don't recall changing that.
>
> On Feb 9, 4:56 pm, "Milan Andric" <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I'm using contrib/auth User for my registration process like alot of
> > folks but the maxlength attr on the html form for the email is 30 and
> > that's too short.
>
> > I tried modifying contrib/auth/models.py and adding maxlength to
> > User.email but that doesn't seem to affect the form.
>
> > So I need to subclass the email form?  Where is that located?  Any
> > hints on a good way to do this?
>
> > --
> > Milan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to