Opened 8 years ago

Closed 7 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: UI/UX:

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 Changed 7 years ago by PhiR

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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

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