Opened 11 years ago

Closed 11 years ago

#6583 closed (wontfix)

permalink decorator should not fail silently

Reported by: knardi@… Owned by: nobody
Component: Core (Other) Version: master
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


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 Changed 11 years ago by Philippe Raoult

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