Django Model Choice Fields
February 28, 2010
You can convert any Django CharField into a droplist by specifying options in the model structure. For example:
class ContestEvent(models.Model): date_of_event = models.DateField() DATE_RESOLUTION_CHOICES = ( ('D', 'Exact Day'), ('M', 'Month'), ('Y', 'Year'), …