O'Reilly logo
  • katy lavallee thinks this is interesting:

The updated index view builds an example URL by reversing the placeholder view, and passes it to the template context.

From

Cover of Lightweight Django

Note

Clever... so you can change the way the URL looks without having to update the HTML in index.html.