#10456: Canada localflavor improvements/fixes
-------------------------------------------------+--------------------------
          Reporter:  mmulley                     |         Owner:  nobody       
 
            Status:  new                         |     Milestone:               
 
         Component:  django.contrib.localflavor  |       Version:  SVN          
 
        Resolution:                              |      Keywords:  localflavor 
ca
             Stage:  Accepted                    |     Has_patch:  1            
 
        Needs_docs:  0                           |   Needs_tests:  0            
 
Needs_better_patch:  1                           |  
-------------------------------------------------+--------------------------
Comment (by dharris):

 I vote for fixing it.

 Changing existing data is bad, but storing the wrong code when there's an
 official proper code sanctioned by a national government is bad as well.
 Continuing to store the incorrect code means a future of one-off hacks for
 data export scripts, address printing utilities and other tools which
 would use these data outside of Django.

 My guess is that many sites that actually store Canadian postal codes have
 already patched their code and fixed their data -- I have -- so the impact
 on existing data is probably not as bad as you fear.

 Fix the code and add an entry to the BackwardsIncompatibleChanges page.
 Include a sample update query for those who are unclear about how to write
 the simple SQL required to fix the data.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10456#comment:2>
Django <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to