1
You’ve returned self.cleaned_data['avatar']
from def clean()
which should be def clean_avatar()
. clean()
should return the whole cleaned_data
anyhow.
Source:stackexchange.com
1
You’ve returned self.cleaned_data['avatar']
from def clean()
which should be def clean_avatar()
. clean()
should return the whole cleaned_data
anyhow.