Wednesday, January 29, 2020

Re: Update on a ModelChoiceField using Models Forms

Sounds good to me your doing a great job keep up the good work have a blessed day Christie ball


On Jan 29, 2020 3:32 PM, "Tatiana Mesa" <tatianamesa687@gmail.com> wrote:
Hi community,
I have a ModelChoice and when updating that field that is in that select in the view (HTML), I would like to see the reflected data that was previously saved, so that the user decides if he wants to update it or not.

This is my ModelForm


So you sent the form according


result


But the data that was previously saved is not initially visible.

I very much appreciate your suggestions.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHAr%3D_0CBdbe-daVYcZac-KbwGg%2BBOYWhVAropH4hTGufYTU5Q%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2B8YxMQtps9rB1mRphAi0vh4TfhM04b5GJkarPQm%3D5TdHXNd3Q%40mail.gmail.com.

No comments:

Post a Comment