Hello
I m facing problem while retrieving value from text box in dynamic
form
The code is as follows:
forms.py
class ContextForm(forms.Form):
def __init__(self, prop, *args, **kwargs):
for i, j in enumerator(prop):
self.fields['%s' % j] = forms.CharField(max_length = 20
7;IntegerField',
: 'CharField', :
'CharField'}
c = ContextForm(rdict)
plz help me for this
Thank you
--
Regards,
Shweta Chaughule
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
7;IntegerField', : 'CharField', : 'CharField'}
c = ContextForm(rdict)
plz help me for this
Thank you
--
Regards,
Shweta Chaughule
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
3 matches
Mail list logo