Re: action in a form

2019-06-24 Thread Kai Kobschätzki
; >> Please Post us your url.py template and the related function from >> view.py >> >> Regards >> >> bengoshi > <mailto:kai.kobschaet...@gmail.com>> schrieb am So., 23. Juni >> 2019, 22:36: >> >> Thanks for

Re: action in a form

2019-06-24 Thread Sebastian Jung
.py template and the related function from view.py > > Regards > > bengoshi schrieb am So., 23. Juni 2019, > 22:36: > >> Thanks for your responses. I didn't describe it well.. if I write >> >> >> it calls the url journal and this is the my requested result.

Re: action in a form

2019-06-24 Thread Kai Kobschätzki
r your responses. I didn't describe it well.. if I write > > > it calls the url journal and this is the my requested result. All fine. > Without the attribute "action" the form save the input in the database - > the requested result, great. > With "acti

Re: action in a form

2019-06-24 Thread Sebastian Jung
e. > Without the attribute "action" the form save the input in the database - the > requested result, great. > With "action" it doesn't. That is the point which I don't understand becauce > in my understanding > action should not have any effect for saving data

Re: action in a form

2019-06-24 Thread Kai Kobschätzki
24 Jun, 2019, 2:07 AM bengoshi, > wrote: > >> Thanks for your responses. I didn't describe it well.. if I write >> >> >> it calls the url journal and this is the my requested result. All fine. >> Without the attribute "action" the form save the input in

Re: action in a form

2019-06-24 Thread Sipum Mishra
is is the my requested result. All fine. > Without the attribute "action" the form save the input in the database - the > requested result, great. > With "action" it doesn't. That is the point which I don't understand becauce > in my understanding > action should not

Re: action in a form

2019-06-23 Thread bengoshi
Thanks for your responses. I didn't describe it well.. if I write it calls the url journal and this is the my requested result. All fine. Without the attribute "action" the form save the input in the database - the requested result, great. With "action" it doesn't. That

Re: action in a form

2019-06-23 Thread Sipum Mishra
Hello, In action use the url associated with that view then it will work for you. If not then kindly tell what errors you are getting. Thanks. On Sun, 23 Jun, 2019, 10:17 PM Sebastian Jung, wrote: > Hello, > > You must Put in Action not a Name from a function. You must Put a url dir > example

Re: action in a form

2019-06-23 Thread Lutalo Bbosa joseph
as jung suggests action is meant to take in a url forexample action =" {% url "cart:journal" %}", where cart is name of the cart and journal is the name of the url On Sun, Jun 23, 2019 at 7:47 PM Sebastian Jung wrote: > Hello, > > You must Put in Action not a Name from a function. You must Put

Re: action in a form

2019-06-23 Thread Sebastian Jung
Hello, You must Put in Action not a Name from a function. You must Put a url dir example action="/newurl/" And in your url a Link from /newurl/ to the function Regards bengoshi schrieb am So., 23. Juni 2019, 17:57: > Hi, > I tried to write a form: > > ### > > {% extends 'base.html' %} > {%

action in a form

2019-06-23 Thread bengoshi
Hi, I tried to write a form: ### {% extends 'base.html' %} {% block content %} Test {% csrf_token %} {{ form.as_p }} {% endblock %} ### and it works. But if I replace it with https://groups.google.com/group/django-users. To view this discussion on the web visit