LookupError: No installed app with label 'core'

0

Initially the project used django 1.7 but I am migrating it to django 1.10.3, but when I try to use migrate it informs this error that the 'core' is not installed, unfortunately there is no core application in my program! the only thing with that name and a folder with some applications inside, and I just put their way, but I think this is not accepted in django 1.10.3, what would be the new method of doing this? or get rid of that mistake?

Edit: Error

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/django/apps/registry.py", line 148, in get_app_config
    return self.app_configs[app_label]
KeyError: 'core'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/__init__.py", line 359, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)

  File "/usr/local/lib/python3.5/dist-packages/django/core/management/base.py", line 294, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/base.py", line 342, in execute
    self.check()
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/base.py", line 374, in check
    include_deployment_checks=include_deployment_checks,
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/commands/migrate.py", line 62, in _run_checks
    issues.extend(super(Command, self)._run_checks(**kwargs))
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/base.py", line 361, in _run_checks
    return checks.run_checks(**kwargs)
  File "/usr/local/lib/python3.5/dist-packages/django/core/checks/registry.py", line 81, in run_checks
    new_errors = check(app_configs=app_configs)
File "/usr/local/lib/python3.5/dist-packages/django/contrib/auth/checks.py", line 16, in check_user_model
    cls = apps.get_model(settings.AUTH_USER_MODEL)
  File "/usr/local/lib/python3.5/dist-packages/django/apps/registry.py", line 195, in get_model
    return self.get_app_config(app_label).get_model(model_name.lower())
  File "/usr/local/lib/python3.5/dist-packages/django/apps/registry.py", line 155, in get_app_config
    raise LookupError(message)
LookupError: No installed app with label 'core'.
    
asked by anonymous 26.11.2016 / 22:47

1 answer

0

You need to consult the documentation of version 1.10 has migrate (I believe not., if so try to use SOUTH and see if it is compatible with version 1.10.

If you do not know what to do, you will have to do the old migration (Django before the South / Migrate).

    
28.11.2016 / 13:17