You can create a drop down menu for this. AGE_CHOICES = ( ('11-20','11-20'), ('21-30', '21-30'), )
class MyModel(models.Model): color = models.CharField(max_length=6, choices=AGE_CHOICES, blank=True, null=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 django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/dbb7403f-37d8-4f34-aa86-9f0861382964%40googlegroups.com.