Re: [mezzanine-users] Get the click event from a button

2017-06-09 Thread dacastror
My page must have several forms simultaneously, plus you must have buttons to edit and delete content. I've managed to do a lot of this with page processors, but I want to achieve proper communication between the template and the page processor. For this it serves me Get the click event from a

Re: [mezzanine-users] Get the click event from a button

2017-06-09 Thread Ryne Everett
I don't think page processors are relevant to your use case. If you're not familiar, I would suggest looking into django's form docs: . -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To u

[mezzanine-users] Get the click event from a button

2017-06-09 Thread dacastror
Hi, I'm adding a page processor to my custom page, Using the example given in: http://mezzanine.jupo.org/docs/content-architecture.html#page-processors I would like to add a button to the template that when pressed will execute a python code that will alter something in the template. I think it

[mezzanine-users] Re: modeltranslation

2017-06-09 Thread i bigoss
Just found out that everything works but adding forms while trying to add form page I'am getting the following: KeyError at /pl/admin/forms/form/add/ u'label' Request Method: GET Request URL: http://127.0.0.1:8000/pl/admin/forms/form/add/?parent=1 Django Version: 1.10.7 Exception Type: KeyError