Opened 17 years ago
Closed 17 years ago
#5607 closed (wontfix)
Add fragment support to permalink decorator
Reported by: | Jannis Leidel | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Keywords: | permalink, feature, 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
The permalink decorator is very useful to maintain DRY principles. I hope I'm not missing something but it's not able to construct an URL which contains a fragment, e.g. http://example.com/user_list/#john
Note:
See TracTickets
for help on using tickets.
I don't think the permalink decorator needs this functionality.
If you need to do that, use
reverse
(fromdjango.core.urlresolvers
) and add the fragment yourself.