With a url so, how can I get only the number (20519364e38774a71190edb28c)?
Someone can help me?
Sandro Dutra
unread,
May 15, 2013, 8:18:04 AM5/15/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Your view is returning a GridFSProxy object, not a class/method
variable. You've to call a instance of your GridFSProxy, so you'll can
access the relative data.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
So I mean the client side in my application I have to be able to access only the id, then just send the id and not <GridFSProxy: 519364e38774a71190edb28c>?
Could not sending as it is in django to extract just the number of the url?
Sandro Dutra
unread,
May 15, 2013, 3:52:58 PM5/15/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
gfsp = GridFSProxy()
gfsp.variable
Where variable is the variable name that contains the data storing the
number you want yo retrieve. I think it can solve your problem.