Do you mind to share a bit more of what you are trying to do ? There is a few way to get a dropdown list out of a django form class.
https://docs.djangoproject.com/en/1.10/ref/models/fields/#django.db.models.Field.choices is one way to do it, for a specific use case. 2016-09-01 9:26 GMT+02:00 <amandeep.tu2...@gmail.com>: > I trying for last 7 days to search this topic but could not find :( > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/a22b7506-9a82-4e1b-8835-b170774ec03a%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Cordialement, Coues Ludovic +336 148 743 42 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEuG%2BTaT3GFpo1uSvPiPtRwG-aU-dwci0K_6uXZmnnpCaCew5g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.