#8798: Add DEPhoneNumberField to German localflavor module
-------------------------------------------------+--------------------------
Reporter: jezdez | Owner: jezdez
Status: new | Milestone:
Component: django.contrib.localflavor | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------------+--------------------------
Changes (by mtredinnick):
* milestone: post-1.0 =>
Comment:
@jezdez: come on. That error message is not at all appropriate or useful.
If your grandmother was using the web and saw that whilst trying to enter
her phone number to purchase flowers would she really have a clue what you
were talking about? Also keep in mind that that error message is not just
going to be shown to Germans, even if you happen to be taught in school
what the DIN 5008 format is, so it rapidly becomes even less informative.
Error messages are viewed by website users -- even I would have to go and
look up wikipedia to find out what the right format if I saw that error on
a website.
What you're calling the "informal" standard has to be supported, so just
give a couple of examples of things like that in error (e.g. "555123456",
"555-123-456", etc) People are very good at following patterns when they
know what to expect and allowing "no pattern at all" (the informal case)
makes it even easier so there should not be much requirement for an error
message beyond something like "please enter a phone number. Remember all
German phone numbers are prime numbers with between 21 and 37 digits".
--
Ticket URL: <http://code.djangoproject.com/ticket/8798#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---