3 ms·
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
by vivekd 10y 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