Hi all,

I just noticed that fields validation occurs at several places, in a
incoherent fashion: in the admin application, and in newforms/fields.py.
For instance, a PhoneNumberField has to be XXX-XXX-XXXX in the admin,
while it is handled as an IntegerField in newforms (thus validation fails
on dashes).

Shouldn't the validation be centralized and occur only in one place? Or is
this a wanted behaviour, since the admin is a contributed app, and not
part of django core?

Thanks,
-- 
Kilian

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