I understand what you mean.
I return my errors in JSON. I think that makes the user's life easier.
-jj
On Thu, Jun 19, 2008 at 3:25 PM, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
> this thread had me thinking...
>
> it would be really neat if there were a way to cancel out the jsonify
> decorator in a function
>
> ie:
>
> @jsonify
> def index(self):
> rVal= { 'status': 'error' }
> self.jsonify_cancel()
> return rVal
>
> i can't remember why i wanted to do this, but i had a good reason to
> the other day!
> >
>
--
I, for one, welcome our new Facebook overlords!
http://jjinux.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---