On Fri, 2007-07-06 at 10:35 +0200, Thomas Güttler wrote:
> Hi,
> 
> I think it is bad, that there are two CharField classes.
> 
> One for OR-Mapping and one for HTML (new)forms. 
> 
> Why not change the HTML classes to ...InputField?

There are lots of names that are used in both model.fields and
newforms.fields. Most of the names are very natural for the type of
thing they describe. Model fields are only used in models and form
fields are only used in forms, so there shouldn't be too much confusion,
since you are usually going to be working on one or the other at any
given moment.

InputField, on the other hand could mean anything (there are lots of
different types of input fields in HTML); it isn't very
self-descriptive.

Any particular reason you only want to change CharField? Or any
technical reason why you think the current situation is bad?

Regards,
Malcolm

-- 
The sooner you fall behind, the more time you'll have to catch up. 
http://www.pointy-stick.com/blog/


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