python - Can't create a form to upade part of a model field -
this frustrating,
i can't , can't find how create form (i'm guessing forms.form form) update 1 field of more complex model.
the model has 5 fields, , form create, update of them.
but in different case need let user update title (a field in model), need tried many things until (including creating html form hand , view save it, creating forms.form , many more, nothing seem work), there no code here because don't know 1 put....
maybe 1 can me that, i'm sure simple thing, reason stuck on long time...
thank you, erez
if you're using modelform
s, have define fields
attribute in meta
tuple containing names of fields want. see documentation.
Comments
Post a Comment