benp
unread,Sep 12, 2011, 10:32:50 AM9/12/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tastypie
Hi,
I need to access the HttpRequest object in my Resource's dehydrate
method. I'd like to access it in other parts of the code as well :)
In the docs, it shows that bundle.request is a valid attribute (it's
in the resources.html page). When I try to add it to my code, I get an
error claiming that Bundle' object has no attribute 'request'.
Am I missing something?
Thanks,
Ben