django / django/django-contrib-comments

How can I load the origin templatetags (commets) when I custom comments app.

Open
#97 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
630
Forks
198
PR merge metrics
No merged PRs in 30d

Description

I follow the doc 'Customizing the comments framework' and build an custom comments app.
The doc teach me set like this:

```
INSTALLED_APPS = [
...
'my_comment_app',
...
]

COMMENTS_APP = 'my_comment_app'
```

But I want to use the templatetags in origin app. Since 'django_comments' not add in INSTALLED_APPS , I can not load 'templatetags.comments.py' in my template. Must I copy all code from that module to my custom app? Or is there more elegent solution?

Thank for you help!

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the “Customizing the comments framework” documentation and inspect the custom app setup and the origin templatetags.comments.py module mentioned in the report. Done means clarifying whether the original tags can be loaded without django_comments in INSTALLED_APPS, or documenting the supported alternative.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.