connection 'default'
HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/2.0/ref/databases/#mysql-sql-mode
Operations to perform:
Apply all migrations: admin, auth, base, brand, contenttypes, dashboard, django_cron, facebook, instagram, jet, push_notifications, sessions
Traceback (most recent call last):
File "manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
File "/home/anton/Dmytro/Workspace/EPocket/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
utility.execute()
File "/home/anton/Dmytro/Workspace/EPocket/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 365, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/anton/Dmytro/Workspace/EPocket/venv/lib/python3.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/anton/Dmytro/Workspace/EPocket/venv/lib/python3.7/site-packages/django/core/management/base.py", line 335, in execute
output = self.handle(*args, **options)
File "/home/anton/Dmytro/Workspace/EPocket/venv/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 160, in handle
pre_migrate_apps = pre_migrate_state.apps
File "/home/anton/Dmytro/Workspace/EPocket/venv/lib/python3.7/site-packages/django/utils/functional.py", line 36, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/anton/Dmytro/Workspace/EPocket/venv/lib/python3.7/site-packages/django/db/migrations/state.py", line 210, in apps
return StateApps(self.real_apps, self.models)
File "/home/anton/Dmytro/Workspace/EPocket/venv/lib/python3.7/site-packages/django/db/migrations/state.py", line 278, in init
raise ValueError("\n".join(error.msg for error in errors))
ValueError: The field push_notifications.APNSDevice.user was declared with a lazy reference to 'base.user', but app 'base' isn't installed.
The field push_notifications.GCMDevice.user was declared with a lazy reference to 'base.user', but app 'base' isn't installed.
The field push_notifications.WNSDevice.user was declared with a lazy reference to 'base.user', but app 'base' isn't installed.
The field push_notifications.WebPushDevice.user was declared with a lazy reference to 'base.user', but app 'base' isn't installed.
base точно в installed_apps?
чет похожее было, когда не было доступа на изменение у пользователя в postgres
Обсуждают сегодня