Hi, So I'm trying to model my URLs for a blog I'm building on Django using the following structure:
http://www.myblog.com/tags/tag1/tag2/tag3/tag4/etc etc The idea being that after the initial /tags/ you can add on any tag and it would act as a filter against the blog entries. I'm trying to follow the principle of "hackable urls" that I've read about. My trouble is that I'm not sure how to structure the urls.py entry. I figure I need something like: If I wanted only the first element after the /tags I could use this: (r'^tags/(?P<tag_name>\w+)/$','view_function_name'), But since I want N elements after the /tags, I'm thinking I need something like this: (r'^tags/{(?P<tag_name>\w+)/$}+','view_function_name'), But not quite this and I'm not sure what exactly I need... Any ideas? Cheers, dylan --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---