Opened 19 years ago

Closed 18 years ago

Last modified 18 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

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 James Bennett, 19 years ago

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 by lukas@…, 19 years ago

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

comment:3 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in [2981].

comment:4 by lukas@…, 18 years ago

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