Opened 17 years ago
Closed 17 years ago
#6583 closed (wontfix)
permalink decorator should not fail silently
Reported by: | 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.
Note:
See TracTickets
for help on using tickets.
The policy of template tags and filters is to fail silently.