Hi folks,
MY URL is x.y.z/list
It shows a list of objects. They have link buttons to delete/update
for each object.
When I click delete for an object I go to a URL via POST with the
object id in the url
This brings me to a "Are you sure you want to delete this object
page".
MY URL is x.y.z/list/
Hi,
I would use the forms library, even if the form has only one input element.
I would use django.http.HttpResponseRedirect() to the list view, after
successful
deletion.
Aldo schrieb:
> Hi folks,
>
> MY URL is x.y.z/list
> It shows a list of objects. They have link buttons to delete/update
>
Thomas,
Thanks for that. I figured it out on my own. Just thought maybe there
was a standard way of doing it without usng a Redirect like that.
Suppose not
Thanks
On Feb 3, 11:14 am, Thomas Guettler wrote:
> Hi,
>
> I would use the forms library, even if the form has only one input element.
>
3 matches
Mail list logo