We typically handle it like this...

For these routes/files

      /v2/veryimportantroute  <> views/api/v2.py
      /v3/veryimportantroute  <> views/api/v3.py

we tend to proxy the actual API functions to something like

lib.api.veryimportantroute.py

    def v2()
    def v3()

the url routing is straightforward, and it reduces the work involved in API 
releases

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/e89aa6e2-6c28-42c5-b1a1-aec217327761%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to