Opened 6 years ago
Closed 6 years ago
#30075 closed Cleanup/optimization (fixed)
Better error message for "App 'bar.foo' could not be found. Is it in INSTALLED_APPS?"
Reported by: | Sven R. Kunze | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | 1.11 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
# settings.py INSTALLED_APPS = ['bar.foo'] manage.py makemigrations bar.foo App 'bar.foo' could not be found. Is it in INSTALLED_APPS? # two hours later, let's try something else manage.py makemigrations foo Migrations for 'foo': bar/0001_initial.py - Create model blub # huh?
Change History (2)
comment:1 by , 6 years ago
Component: | Utilities → Core (Management commands) |
---|
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
On master:
$ python manage.py makemigrations bar.foo No installed app with label 'bar.foo'. Did you mean 'foo'?
Note:
See TracTickets
for help on using tickets.
Please test with Django master. The situation changed after c3c7d15c34d6174ff25a49d7c9a57da140769567 and this may be fixed.