#10969: django/contrib/localflavor/us/models.py update USStateField to act as a
normal CharField with choices.
----------------------------------------+-----------------------------------
 Reporter:  pmclanahan                  |       Owner:  nobody    
   Status:  new                         |   Milestone:            
Component:  django.contrib.localflavor  |     Version:  SVN       
 Keywords:  usstatefield, charfield     |       Stage:  Unreviewed
Has_patch:  1                           |  
----------------------------------------+-----------------------------------
 The current implementation of the USStateField model field in the
 localflavor/us module does not act like a normal CharField with choices.
 It does not cause the model to get a get_<fieldname>_display method, and
 it does not appear to obey blank=True rules like other CharFields would.
 It is for these reasons that I don't see why this can't be a simple
 subclass of django.db.models.fields.CharField.

 Note: Possibly related to #4092.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10969>
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