#29469: Makemigrations provides misleading error message.
---------------------------------------------+------------------------
Reporter: Matthew Schinckel | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 2.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------------+------------------------
I have a couple of nested apps, or apps that are not available directly in
the top-level namespace.
When you use makemigrations, and pass the full dotted path to this
command, the error message is somewhat misleading:
{{{
App 'integrations.systems.generic.importers' could not be found. Is it in
INSTALLED_APPS?
}}}
In this case, I have that exact string in my INSTALLED_APPS, but
makemigrations is expecting just the app_label. Perhaps we could improve
the error message when dots are detected in the app_label, suggesting how
to fix it: or even look at just the last part of the path?
--
Ticket URL: <https://code.djangoproject.com/ticket/29469>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.61ca690539772ff411730ac22aa1d586%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.