hi,
I have a form with three comboxes that are chained.
Models are chained via intermediary table.
model goes like this
class A(models.Model):
id
name
class B(models.Model):
id
name
class B(models.Model):
id
name
class Choice(models.Model):
a = models.ForeignKey(A)
b = models.ForeignKey(B)
c = models.ForeignKey(C)
Choice is some combination of A,B,C that are related in some way.
This structure is required by the "Business model" .
I would like to:
1. choose value from A, filter B,
2. choose value from B, filter C
3. choose C
And then take those values to further processing.
I did lookups for choosing those values in the form, but I don't know how to gradual filtering.
Kind regards, Mladen.