On 1/22/07, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote:
> The newforms.CharField class expects a max_length keyword to define the
> max_length, the models.CharField expects a maxlength keyword (without
> the underscore). Shouldn't the newforms.CharField class use maxlength
> too?

Hi Michel,

The newforms.CharField class intentionally uses max_length rather than
maxlength. We'll eventually be changing the model field syntax to use
max_length rather than maxlength, so this was a futureproofing
decision.

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
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