longclawshop/longclaw

Error Migrating after a new Install

DarkArtek opened this issue · 1 comments

ISSUE_TEMPLATE

  • longclaw version: 1.0.2
  • Django version: 2.2.12
  • Python version: 3.8

Description

Trying to migrate after a project creation:

django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [<ModelState: 'home.HomePage'>, <ModelState: 'catalog.ProductIndex'>, <ModelState: 'catalog.Product'>]
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/2.2/topics/migrations/#dependencies for more

darka@ArtekAir sanmarcovetri % pip freeze
appdirs==1.4.4
args==0.1.0
asgiref==3.2.7
astroid==2.3.3
beautifulsoup4==4.8.2
braintree==4.1.0
certifi==2019.11.28
chardet==3.0.4
clint==0.5.1
distlib==0.3.0
Django==2.2.12
django-countries==5.5
django-extensions==2.2.1
django-ipware==2.1.0
django-modelcluster==5.0.1
django-polymorphic==2.0.3
django-taggit==1.2.0
django-treebeard==4.3.1
djangorestframework==3.9.0
docopt==0.6.2
draftjs-exporter==2.1.7
filelock==3.0.12
html5lib==1.0.1
idna==2.9
isort==4.3.21
Jinja2==2.11.2
l18n==2018.5
lazy-object-proxy==1.4.3
longclaw==1.0.2
MarkupSafe==1.1.1
mccabe==0.6.1
mock==4.0.2
mutagen==1.44.0
pbr==5.4.5
Pillow==6.2.2
pylint==2.4.4
pytz==2019.3
requests==2.23.0
scdl==1.6.12
six==1.14.0
soupsieve==2.0.1
sqlparse==0.3.1
stevedore==2.0.0
stripe==2.48.0
termcolor==1.1.0
Unidecode==1.1.1
urllib3==1.25.8
virtualenv==20.0.23
virtualenvwrapper==4.8.4
wagtail==2.9
webencodings==0.5.1
Willow==1.3
wrapt==1.11.2
XlsxWriter==1.2.9

Resolved doing: makemigrations catalog
then migrate