Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1744 closed defect (fixed)

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

Reported by: lukas@… Owned by: adrian
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: UI/UX:

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 Changed 9 years ago by ubernostrum

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 9 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 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [2981].

comment:4 Changed 9 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