Django 1.8 - Python 3.4.3
Took the advice of the console 'You have unapplied migrations; your app may 
not work properly until they are applied.
Run 'python manage.py migrate' to apply them.'

and ran python manage.py migrate

stack trace

Running migrations:
  Rendering model states...Traceback (most recent call last):
  File "manage.py", line 28, in <module>
    execute_from_command_line(sys.argv)
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/core/management/__init__.py",
 
line 338, in execute_from_command_line
    utility.execute()
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/core/management/__init__.py",
 
line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/core/management/base.py",
 
line 390, in run_from_argv
    self.execute(*args, **cmd_options)
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/core/management/base.py",
 
line 441, in execute
    output = self.handle(*args, **options)
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/core/management/commands/migrate.py",
 
line 221, in handle
    executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/db/migrations/executor.py",
 
line 100, in migrate
    state.apps  # Render all real_apps -- performance critical
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/utils/functional.py",
 
line 60, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/db/migrations/state.py",
 
line 154, in apps
    return StateApps(self.real_apps, self.models)
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/db/migrations/state.py",
 
line 220, in __init__
    self.render_multiple(list(models.values()) + self.real_models)
  File 
"/home/graham/.pyenv/versions/py3.4.3-dj1.8/lib/python3.4/site-packages/django/db/migrations/state.py",
 
line 258, in render_multiple
    "for more" % (new_unrendered_models, get_docs_version())
django.db.migrations.state.InvalidBasesError: Cannot resolve bases for 
[<ModelState: 'soulapp2.SoulPractitioner'>, <ModelState: 
'soulapp2.SoulClassInformation'>, <ModelState: 'soulapp2.Happening'>]
This can happen if you are inheriting models from an app with migrations 
(e.g. contrib.auth)
 in an app with no migrations; see 
https://docs.djangoproject.com/en/1.8/topics/migrations/#dependencies for 
more

*Note*
The 3 models mentioned are the only ones in the project that inherit from 
'Page' and 'RichText'

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to