Does anyone have any experience getting this views decorator to with properly with Pyjamas? When I call a views function with an unauthenticated user, I end up with a status 500 because Django HTTPRedirect objects are not serializable.
My current thinking is I'll have to create my own decorator that returns a 403 instead of a Django HTTPRedirect object and have the Pyjamas front end act on the 403 and redirect to the login page. I'm just not sure how to return a 403 in a way that Pyjamas will recognize. Any ideas? Thanks in advance! Matt -- --- You received this message because you are subscribed to the Google Groups "Pyjs.org Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
