Re: Validation discrepancies between admin and newforms

2007-01-31 Thread Waylan Limberg
The admin app is currently being rebuilt to use newforms. No doubt this, plus many similar issues are being addressed there. Watch the dev list for discussions and check out the branch here: http://code.djangoproject.com/browser/django/branches/newforms-admin On 1/31/07, Kilian CAVALOTTI <[EMAIL

Validation discrepancies between admin and newforms

2007-01-31 Thread Kilian CAVALOTTI
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- in the admin, while it is handled as an IntegerField in newforms (thus validation fails on