﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24848	makemigrations fails with 'ValueError: Dependency on unknown app' when migrations module exists without __init__.py	Petros Moisiadis	Marten Kenbeek	"Django version 1.8.2

traceback:
{{{
Traceback (most recent call last):
  File ""manage.py"", line 10, in <module>
    execute_from_command_line(sys.argv)
  File ""/path/to/python/env/lib/python3.4/site-packages/django/core/management/__init__.py"", line 338, in execute_from_command_line
    utility.execute()
  File ""/path/to/python/env/lib/python3.4/site-packages/django/core/management/__init__.py"", line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File ""/path/to/python/env/lib/python3.4/site-packages/django/core/management/base.py"", line 390, in run_from_argv
    self.execute(*args, **cmd_options)
  File ""/path/to/python/env/lib/python3.4/site-packages/django/core/management/base.py"", line 441, in execute
    output = self.handle(*args, **options)
  File ""/path/to/python/env/lib/python3.4/site-packages/django/core/management/commands/makemigrations.py"", line 63, in handle
    loader = MigrationLoader(None, ignore_no_migrations=True)
  File ""/path/to/python/env/lib/python3.4/site-packages/django/db/migrations/loader.py"", line 47, in __init__
    self.build_graph()
  File ""/path/to/python/env/lib/python3.4/site-packages/django/db/migrations/loader.py"", line 287, in build_graph
    parent = self.check_key(parent, key[0])
  File ""/path/to/python/env/lib/python3.4/site-packages/django/db/migrations/loader.py"", line 165, in check_key
    raise ValueError(""Dependency on unknown app: %s"" % key[0])
ValueError: Dependency on unknown app: users
}}}

Example project is included as an attachment."	Bug	closed	Migrations	1.8	Normal	fixed			Accepted	1	0	0	0	0	0
