views:

23

answers:

0

By default the RESTful controller in Pylons supports single-part IDs for objects. This works for some kinds of objects, but my domain model has a set of objects that have composite identifiers, and I'd like to be able to build good URLs for those as well.

This is what is currently supported:

GET /advanis/saas/projects/id: Show a specific item

This is what I want:

GET /advanis/saas/projects/client/key: Show a specific item

How can I configure my routing to support this?