Update on a ModelChoiceField using Models Forms

19 views
Skip to first unread message

Tatiana Mesa

unread,
Jan 29, 2020, 3:32:45 PM1/29/20
to django...@googlegroups.com, django-users...@googlegroups.com
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
image.png

So you sent the form according
image.png

result
image.png

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

I very much appreciate your suggestions.

Crissy Ball

unread,
Jan 29, 2020, 6:21:06 PM1/29/20
to django...@googlegroups.com
Sounds good to me your doing a great job keep up the good work have a blessed day Christie ball


--
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.
Reply all
Reply to author
Forward
0 new messages