Hi all

I've been testing newforms and it's a great improvement, specially the
creation of custom fields, that validate and clean the data. Now I've
been also looking at localflavor section, and I've a question.

Imagine a multi national application that use standard localized data
(country, phone, postal/zip code, etc..), and by introspection, at
form clean search in localflavor for the correct field type. Could it
be done? and what do you think is the best way?

1. Dynamically change the field type?

2. Call the clean function of another field type? (is it possible?)

3. Create a custom field type that use or subclass the multiple
localized version?

Thanks


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