Dear all i did not pass drives_a value to drives variable ; i am using django module plz help me if any one using this django module..
#My Code is from django import forms import os drives_a = [chr(x) + "," for x in range(65, 90) if os.path.exists(chr(x) + ':')] class contactForm(forms.Form): drives = forms.CharField(label='Drive Name', widget=forms.Select(choices=drives_a)) -- 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/941af6e4-764e-4846-9833-93f8c8da62e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.