On Saturday, 3 March 2012 10:21:39 UTC, leaks wrote: > > How do you use a link as a post request? > this is a thing that I have never done before... maybe use it inside a > form? > I searched and didn't find anything similar in django... > > Thanks in advance! >
You can't. A link is a GET, by definition. It is possible to style a form submit button to look like a link, though. One of my least proud moments in web development is when I had to do this. Another alternative might be to use Javascript to trigger a form submission when the link is clicked. -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/h81we6g6pKUJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.