Opened 17 years ago
Last modified 13 years ago
#9967 closed
get_absolute_url doesn't add anchor to url — at Initial Version
| Reported by: | msm | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | no |
Description
Maybe I'm wrong, but calling get_absolute_url on a comment is redirected to this:
16 urlpatterns += patterns('',
17 url(r'^cr/(\d+)/(\w+)/$', 'django.views.defaults.shortcut', name='comments-url-redirect'),
18 )
In my case this somehow doesnt return the anchor of a comment (so that the browser directly jumps to the comment text (e.g. /slug-of-article/#c123
Note:
See TracTickets
for help on using tickets.