Opened 17 years ago

Closed 17 years ago

#6583 closed (wontfix)

permalink decorator should not fail silently

Reported by: knardi@… Owned by: nobody
Component: Core (Other) Version: dev
Severity: Keywords: permalink urlconf get_absolute_url
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When given an improper view or view name, the permalink decorator simply fails and get_absolute_url returns None.

If supplied with a non-existing view name, or a view that does not exist in the urlconf, permalink should throw an exception.

Change History (1)

comment:1 by Philippe Raoult, 17 years ago

Resolution: wontfix
Status: newclosed

The policy of template tags and filters is to fail silently.

Note: See TracTickets for help on using tickets.
Back to Top