When reversing a URL fails, inform the user which patterns were tried.

See https://code.djangoproject.com/ticket/17076