Re: changing maxlength html attribute

2007-02-09 Thread Waylan Limberg
On 2/9/07, Kai Kuehne <[EMAIL PROTECTED]> wrote: > > Btw, why is it called maxlength and in newforms > max_length (or the other way around, not sure)? > Shouldn't they be identcal? > maxlength is the old way and on the way out. My understanding is that it will be replaced with max_length everywher

Re: changing maxlength html attribute

2007-02-09 Thread Kai Kuehne
Btw, why is it called maxlength and in newforms max_length (or the other way around, not sure)? Shouldn't they be identcal? Greetings Kai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: changing maxlength html attribute

2007-02-09 Thread Milan Andric
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]> wr

Re: changing maxlength html attribute

2007-02-09 Thread [EMAIL PROTECTED]
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. I

changing maxlength html attribute

2007-02-09 Thread Milan Andric
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