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 <kilian.cavalotti lip6.fr> 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
waylan gmail.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
django-users-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|