See: http://django-autocomplete-light.readthedocs.io/en/master/tutorial.html#filtering-results-based-on-the-value-of-other-fields-in-the-form
On Friday, 20 October 2017 13:04:41 UTC+2, rajeev yadla wrote: > > hi have a form which have two fields. one field has a foreignkey from > model A(in image) base field. and another field is a drop down box where > the choices should be dynamic based on first field selection. the choices > should all the values of field Os from second model B associated with the > Base key value i have given in first field. > example from image. > field 1= 10 > field 2= (A,C) as these two values are associted with 10 in model B. > > > <https://lh3.googleusercontent.com/-G4zAE_Sz820/WemSa21SxfI/AAAAAAAAAqM/E2HzoElN4jsGhaZDpfnANntIzProBdGvACLcBGAs/s1600/IMG_20171020_111902071.jpg> > > can someone help me here. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e3363444-83d8-46e1-aaf1-7cf31c657e94%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

