#14880: raw_id_fields in admin does not work when limit_choices_to dictionary 
has
value=False
-------------------------------------------+--------------------------------
          Reporter:  [email protected]   |         Owner:  nobody
            Status:  new                   |     Milestone:        
         Component:  django.contrib.admin  |       Version:  1.2   
        Resolution:                        |      Keywords:        
             Stage:  Accepted              |     Has_patch:  0     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by lukeplant):

  * keywords:  blocker, regression =>
  * milestone:  1.3 =>

Comment:

 OK, so this isn't a regression, we can remove the blocker/regression
 keywords. It would still be nice to be fixed for 1.3, but we don't have
 to.

 For those looking to fix it, there are probably two routes:

  1. Change the generated query string to use '0' instead of 'False', since
 '0' does work.
  2. Fix the code that reads the query string to treat 'False' as boolean
 `False` (but obviously only for boolean fields).

 I have no idea at the moment which is the 'right' way to fix it, one of
 them is likely to be cleaner that the other.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14880#comment:8>
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