On Sunday 05 March 2017 13:40:44 Michael Chenetz wrote:
> Thanks Melvyn... I am not having issues with a generic update form.

The important stuff is in the last line. I was explaining how you can do it and 
where to 
look for inspiration.

> The problem is when using it in a Bootstrap Modal. I think it is a
> javascript/ajax issue. That is the piece I need to figure out.

That depends on your workflow. You can fill the form using an Ajax call, yes. 
But - you 
don't have to.[1]

The above is part of code I'm working on. I am actually working on handling 
duplicated 
form media in the AdditionalFormsManager, so it certainly isn't production 
quality yet - 
but it will work just fine for illustration purposes or base for your own code.

-- 
Melvyn Sopacua

--------
[1] https://gist.github.com/melvyn-sopacua/2e848fa5b8be0f53c2a5267ba68d570e

-- 
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/3619047.4YTYs12qbr%40devstation.
For more options, visit https://groups.google.com/d/optout.

Reply via email to