[Answered ]-How to get a field from the model in a forms.ModelForm

1👍

I occasional strip a specific value from a form inside a view. I do that by using the form.data dictionary. In your case, one of the keys should be some_attribute. This approach might help.

👤Cole

1👍

It may be that some_attribtue is misspelled in Model class, t and u exchanged.

Leave a comment