Hmmmm it seems to have just dropped my supplementary question.
Apologies if this arrives twice.

I want to do something like:
/myapp/api/get_comment/id
to return the comment at id
and
/myapp/api/get_comment/
to return a list of all comments

However, it complains when I try this (invalid argument).  I try to
test id against None, but it's a server object so isn't None.
Is this doable or do I give up and define get_all_comments?

Reply via email to