#1744 closed defect (fixed)
django.contrib.comments app is tied to be reachable as "/comments"
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Tools | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Currently, the comments app seems to be tied to an absolute url of "/comments". This practically renders the app unusable if you have more than one django-based site on a single domain, let alone different versions of django.
It would be good if the comment app would use a configurable location.
As an example, my django-site resides under myhost.com/lukas/<whatever>. I can't currently add another site myhost.com/anothername/<whatever> that uses the comment functionality, because all redirects in the comment app redirect to /comments/<...>.
Or am I too blind to see the obvious?
thanks for help,
Lukas
Change History (4)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Yep, exactly that. The code is quite good in this respect, except when it comes to the redirects.
comment:4 by , 19 years ago
I didn't expect this to be so easy. Man, life can be so simple! Thanks :)
You're referring to the hard-coded '/comments' in the URLs for the posting forms and the redirect after a comment is posted?