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
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
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
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
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
5 matches
Mail list logo