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 PROTECTED]> wrote:
>
> 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
>
> >
>


-- 
----
Waylan Limberg
[EMAIL PROTECTED]

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