1👍
✅
cleaned_data
is only available after the form have been validated with is_valid()
. You’re currently only validating link_formset
but then trying to access cleaned_data
for x in skill_formset
, which is not yet created.
Read more about it here: https://docs.djangoproject.com/en/1.9/ref/forms/api/#django.forms.Form.cleaned_data
Source:stackexchange.com