You can create a drop down menu for this.

    ('21-30', '21-30'),

class MyModel(models.Model):
  color = models.CharField(max_length=6, choices=AGE_CHOICES, blank=True, 

Hope this helps... 😊 
With regards, 
Shubham Gupta 

You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To view this discussion on the web visit
  • I ne... 'Fadi Haddad' via Django developers (Contributions to Django itself)
    • ... Adam Johnson
    • ... Pavlos Georgiadis
    • ... Become a Physicist

Reply via email to