On 09/29/11 11:36, Dejan Noveski wrote:
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)/

If category or type would be always different in a special way (in.e. category starts is always 5 characters and subtype is never 5 characters long) then it is possible.

I'd suggest to use:

/type/(type)/category/(category)/ etc.
certainly it might be
/t/(type)/c/(category)/
but I like the former better


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

Thanks

--
--
Dejan Noveski
<http://twitter.com/dekomote>

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to