Message from Python discussions

December 2018

— This might be helpful. The second link is, I think, what you need. https://code.djangoproject.com/wiki/AJAX

Message permanent page

— 

The thing is the success function receives data so you use that as a variable in which you should find the context variables

— Let me look for an example *i got plenty*

— Hope, this is not considered referral...😰

— Https://hastebin.com/awuyukiciw.php

— Perfect, let me see

— Standard darcula I think

— Why do you use locals?

— So comfortable

— I know that it is not advisable to do so

— Okay then, what you've got to do is first just remove the else, it doesn't make sense to have replicated code

Message permanent page

— Second, does locals return this structure?
context = {
'form1': form,
'form2': form2,
'form3': form3,
}

Message permanent page