How do I do that? To retrieve a field's choices from the model? class Person(meta.Model): height = meta.CharField(maxlength=100, choices=(('tall','Tall'),('short','Short')))
>>> Person.height.choices #???? Thanks, Mike
How do I do that? To retrieve a field's choices from the model? class Person(meta.Model): height = meta.CharField(maxlength=100, choices=(('tall','Tall'),('short','Short')))
>>> Person.height.choices #???? Thanks, Mike