Hi Mike, Make sure you are setting the instance argument when you instantiate the form. Typically, you would pass in a pk to the view.
def my_update_view(request, pk): obj = get_object_or_404(MyModel, pk=pk) form = MyForm(request.POST or None, instance=obj) …. I hope this helps you. Best wishes, Matthew From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Michael Chenetz Sent: Friday, March 3, 2017 2:07 PM To: Django users Subject: How do you populate an update form in a Bootstrap Modal? I am trying to figure out how to populate the update model form in a Bootstrap Modal. I can add to a form no problem but update does not seem to pre-populate the form when it is viewed. I need to understand what i need to do in the view/template to get this done. Any help would be greatly appreciated. Regards, Mike -- 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+unsubscr...@googlegroups.com<mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com<mailto:django-users@googlegroups.com>. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/33b0c293-f017-476d-a6b1-81223f6c863c%40googlegroups.com<https://groups.google.com/d/msgid/django-users/33b0c293-f017-476d-a6b1-81223f6c863c%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8af37670e1ac434fbaa1180fe3133c2f%40ISS1.ISS.LOCAL. For more options, visit https://groups.google.com/d/optout.