On Mar 3, 8:23 am, Derick <[email protected]> wrote:
> Hi,
>
> I have a blog application which follows URL scheme of example.com/
> postid/post-slug. Now I want to move the blog to a custom application
> written in Pylons. Is it possible for me to retain the url scheme, as
> I am using RESTful controllers?

Yes. You can have whatever URL scheme you like by using Mapper.connect
to map arbitrary URLs to arbitrary controller actions. If you use
Mapper.resource, you may need to work around its defaults, but it is
do-able.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

  • REST urls Derick
    • Re: REST urls Wyatt Baldwin

Reply via email to