From: Simon Willison <si...@simonwillison.net>
Date: Wed, 14 May 2008 06:58:52 -0700 (PDT)
Local: Wed, May 14 2008 9:58 am
Subject: Rethinking silent failures in templates
Hi all,
Some time in late 2003, Adrian and I decided that errors in templates
Is it too late to reconsider this decision, four and a half years
Today's example: a <form action=""> tag that shouldn't have been
<form action="{% url something-with-a-typo %}">
If you look at Django's URL tag implementation, you can see why:
http://code.djangoproject.com/browser/django/trunk/django/template/de...
The code catches the NoReverseMatch exception and silences it,
Silent errors are bad. If we were to remove them, how much of a
Cheers,
Simon
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||