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.


Cover of Lightweight Django


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