Saulo
unread,Sep 6, 2010, 7:13:57 AM9/6/10Sign 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 Django REST interface
Hi folks,
I'm trying to get all tags(strings) from a object. Both (tag and
object) are defined in my Django app model. So, when I typed at
urls.py the uri's pattern r'^json/object/(?P<obj_id>\d+)/tags$' and
tried to run the server, I got the folowwing message : invalid literal
for int() with base 10: '3/tags', for example, when a have to get
third object in my model. What do you think it's happening? I think
the correct way would be parsing only the integer 3 without tha last
part /tags....
Obs: sorry, my english isn't well
So, thanks a million!