On Jul 28, 2006, at 3:28 PM, Alex Ross wrote:

>
> To get the drag and drop delete working I also made the following
> change:
>
> --- quickwiki/controllers/page.py.old   2006-07-28 15:01:44.000000000
> -0700
> +++ quickwiki/controllers/page.py       2006-07-28 15:24:45.000000000
> -0700
> @@ -39,8 +39,9 @@
>          return render_response('/titles.myt')
>
>      def delete(self):
> -        title = request.params['id'][0][5:] # XXX This is wrong!
> +        title = request.params['id'][5:] # XXX This is wrong!
>          page = self.query.get_by(title=title)
> +        print page
>          objectstore.delete(page)
>          objectstore.flush()
>          c.titles = self.query.select()
>

Thanks for the patches, I've updated QuickWiki and the other examples  
to fix the params problems

--
Philip Jenvey


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to