urlto Create Detail Page Links
Let’s pretend for a moment that we don’t know about
get_absolute_url() and that we’re going to stick to using the
url template tag directly.
All of our detail pages are dynamic pages with at least one regular expression named group. To reverse a URL pattern with such regular expressions, we saw earlier that we could treat the regular expression pattern like a template and pass the value we want to fill in the character set directly to either
reverse() or the
url template tag.
The URL pattern
organizer_tag_detail currently reads as shown in Example 6.23.
17 url(r'^tag/(?P<slug>[\w\-]+)/$' ...