#2445: [patch] allow callable values for limit_choices_to
--------------------------------------------+-------------------------------
          Reporter:  mich...@actrix.gen.nz  |         Owner:  nobody
            Status:  new                    |     Milestone:        
         Component:  Core framework         |       Version:        
        Resolution:                         |      Keywords:        
             Stage:  Accepted               |     Has_patch:  1     
        Needs_docs:  1                      |   Needs_tests:  1     
Needs_better_patch:  1                      |  
--------------------------------------------+-------------------------------
Comment (by hejsan):

 This is quite important, without this functionality one is not able to
 make choices context sensitive without some major hack.

 The last proposed solution, to allow for a choices_for_BLA() function is
 definitely the way to go, that is the only way that allows you to check
 your self variables and make the choices accordingly in a dynamic way.

 Please someone smarter than me fix the choices_func_newforms-admin.patch
 patch to work for inlines also :)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2445#comment:20>
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-updates@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