You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Synchronizing apps without migrations:
Creating tables...
Creating table sso_client
Running deferred SQL...
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
self.execute(*args, **cmd_options)
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
output = self.handle(*args, **options)
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 179, in handle
created_models = self.sync_apps(connection, executor.loader.unmigrated_apps)
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 318, in sync_apps
cursor.execute(statement)
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/db/backends/utils.py", line 79, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/db/utils.py", line 98, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/Users/sklirg/projects/github/onlineweb4/env/lib/python2.7/site-packages/django/db/backends/utils.py", line 62, in execute
return self.cursor.execute(sql)
django.db.utils.ProgrammingError: relation "authentication_onlineuser" does not exist
Pretty similar to the bug reported at dotkom/redwine#19. I'm guessing it's referencing the user model before it's migrated or something.
This happens on a fresh install using postgres as database backend. (not sqlite3)
The text was updated successfully, but these errors were encountered:
sklirg
changed the title
Referencing user before user migrated on new projects
Sso is referencing user before user migrated on new projects
Dec 13, 2015
The sso app triggers this exception:
Pretty similar to the bug reported at dotkom/redwine#19. I'm guessing it's referencing the user model before it's migrated or something.
This happens on a fresh install using postgres as database backend. (not sqlite3)
The text was updated successfully, but these errors were encountered: