So I'm trying to generate dynamic choices for django form. Here i'm usig
formset concept (CODE is mentioned below)
Suppose i have list called criteria_list = ['education', 'know how',
'managerial', 'interpersonal', ]
now i need to generate choices as follows
list1 = [('education', 1),
Asif Jamadar, 20.10.2011 20:51:
So I'm trying to generate dynamic choices for django form.[...]
Note that this is the CPython core developers mailing list. The right list
for general Python programming related questions is either
python-l...@python.org, or the newsgroup comp.lang.python.
I believe this is not the correct forum for this as it does not
concern development of Python language itself - you should post to
comp.lang.python. However solutions is relatively simply, try this:
list1,list2,list3,list4,list5,list6 = [ list(itertools.product(i,range(0,4)))
for i in
Hello.
We are sorry but we cannot help you. This mailing list is to work on
developing Python (adding new features to Python itself and fixing bugs);
if you're having problems learning, understanding or using Python, please
find another forum. Probably python-list/comp.lang.python mailing