Re: [BangPypers] Dynamic choices for django modelformset

2011-11-01 Thread Asif Jamadar
: [BangPypers] Dynamic choices for django modelformset How can I add dynamic choices for model formset? Suppose I have model called TestModel Class TestModel(models.Model) dropdown_field = models.CharField(max_length=70, blank=True, null=True, choices=' What to write here becau

[BangPypers] Dynamic choices for django modelformset

2011-10-27 Thread Asif Jamadar
How can I add dynamic choices for model formset? Suppose I have model called TestModel Class TestModel(models.Model) dropdown_field = models.CharField(max_length=70, blank=True, null=True, choices=' What to write here because my choices are dynamic') And from this model I w