Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1744 closed defect (fixed)

django.contrib.comments app is tied to be reachable as "/comments"

Reported by: lukas@… 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


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<whatever>. I can't currently add another site<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,

Change History (4)

comment:1 Changed 13 years ago by James Bennett

You're referring to the hard-coded '/comments' in the URLs for the posting forms and the redirect after a comment is posted?

comment:2 Changed 13 years ago by lukas@…

Yep, exactly that. The code is quite good in this respect, except when it comes to the redirects.

comment:3 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

Fixed in [2981].

comment:4 Changed 13 years ago by lukas@…

I didn't expect this to be so easy. Man, life can be so simple! Thanks :)

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