: [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
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