#5446: New model fields for languages and countries at least
----------------------------------------------------------+-----------------
          Reporter:  Raphaƫl Hertzog <raph...@ouaza.com>  |         Owner:  
marinho        
            Status:  reopened                             |     Milestone:      
           
         Component:  Database layer (models, ORM)         |       Version:  SVN 
           
        Resolution:                                       |      Keywords:  
feature_request
             Stage:  Accepted                             |     Has_patch:  1   
           
        Needs_docs:  0                                    |   Needs_tests:  0   
           
Needs_better_patch:  0                                    |  
----------------------------------------------------------+-----------------
Comment (by mitar):

 I am attaching a new version of geo fields. I over all data and I
 corrected it according to Wikipedia values (some values were missing or
 were invalid or not best possible). I also extended them also to a city
 field for which I added necessary data with major (not necessary capital
 in all cases) city for every country.

 I also extended initial values to be a callable which takes a request as a
 parameter so that it is possible to do GeoIP based initial values. I
 explained this and how it is possible to make this work in #13972. If
 request is not specified it falls back to values from settings so it is
 also backwards compatible. (Only loading of GeoIP could probably also be
 made optional.)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5446#comment:25>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to