|
|
|
|
|
by vivekd
3418 days ago
|
|
wait just tried the code again, you were right, I don't need the second empty string. I was using [] with get and it wasn't working. so it seems the right way is
form.cleaned_data.get('formfieldvalue') or form.cleaned_data[formfieldvalue'] if you don't want to use get |
|