Re: urlconf for multiple page slugs

2007-08-10 Thread Peter Baumgartner
> > > Collin's suggestion may sound daunting, but it's really quite easy: Thanks guys. I took your advice. Here is my solution: http://www.djangosnippets.org/snippets/362/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: urlconf for multiple page slugs

2007-08-10 Thread Tim Chase
> About the only way to do that is just grab (.*) from the url, and > parse it in your view, looking up slugs as needed Collin's suggestion may sound daunting, but it's really quite easy: your urls.py can have something like r"^(?P(?:[-\w]+/)*[-\w]+)/?$" and then in your view: def my_view(re

Re: urlconf for multiple page slugs

2007-08-10 Thread Collin Grady
About the only way to do that is just grab (.*) from the url, and parse it in your view, looking up slugs as needed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e