Thanks for replying.  The update method looks like this:

    def update(request, myobject_id):
        o = get_object_or_404(MyObject, pk=myobject_id)
        o.title = request.POST['name']
        ...
        o.save()
        return HttpResponseRedirect('/myapp/%s/' % myobject.id)

The redirect would break, since it goes to the site root right now, but
I've never actually gotten that far yet.  As far as I can tell, the
update method is never called because the request never gets past the
404.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to