Thursday, September 29, 2011

Dynamic parameters in django URLs

Hi,

I want to add dynamic urls to my site for faceting purposes. E.g: /(type)/(subtype)/(category)/
But I also want something like this to work: /(type)/(subtype)/ or /(type)/(category)/ or /(subtype)/(category)/ or just /(category)/ | /(type)/ | /(subtype)/

Is there any clean way of doing this without declaring each possible combination of url params?

Thanks

--
--
Dejan Noveski

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment