django / django/django-contrib-comments

Can't use AppConfig in INSTALLED_APPS for custom comments app

Open
#73 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
630
Forks
198
PR merge metrics
No merged PRs in 30d

Description

The import code [here](https://github.com/django/django-contrib-comments/blob/fb4d794897f492367ee40d34e8bcd9a42ef5b176/django_comments/__init__.py#L12-L31) fails if using the full dotted path to an app config in INSTALLED_APPS and COMMENTS_APP.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with django_comments/__init__.py lines 12–31 and reproduce the failure using a full dotted AppConfig path in both INSTALLED_APPS and COMMENTS_APP. Trace the import handling and verify that the custom comments app can be configured through those paths without failing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.