In my case, I had a config at `courses.apps.CoursesConfig`, and included
`'courses.apps.CourseConfig'` (no 's' in Courses) in `INSTALLED_APPS`.
I think we can provide a better error message when the mod_path
(`courses.apps`) is importable and has `AppConfig` subclasses, something
like "'courses.apps' does not have a class 'CourseConfig', did you mean
'CoursesConfig'?".
--
Ticket URL: <https://code.djangoproject.com/ticket/29768>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
Comment:
Yep. That sounds helpful/reasonbable. (Certainly worth looking at a PR at
any rate. 🙂)
--
Ticket URL: <https://code.djangoproject.com/ticket/29768#comment:1>
* owner: (none) => Marten Kenbeek
* status: new => assigned
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/29768#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"40c8ffad7249fd37ca1629f06d3ab6b129d84b21" 40c8ffad]:
{{{
#!CommitTicketReference repository=""
revision="40c8ffad7249fd37ca1629f06d3ab6b129d84b21"
Fixed #29768 -- Improved error message when an AppConfig has a typo in
INSTALLED_APPS.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29768#comment:3>