Open rixmit opened 9 years ago
What version of Django? I'm suspecting we are missing a dependency in our south migrations: http://stackoverflow.com/questions/26127830/django-sites-framework-initial-data-migration-location
I'm using Django version 1.7.6. The problem occurs whenever I invoke 'migrate.py' (not just when doing the migrations). It seems that django-cms is failing when it tries to get a list of patterns for all hooked apps (https://github.com/divio/django-cms/blob/master/cms/appresolver.py#L173). It tries to obtain the current site from the database, but as the database is still empty it throws an error which is not cauht...
Good afternoon, I add pictures in the news but they are nowhere to be displayed. Choate need to do?
This is fixed by merging pull request #5
@LaurensBER #5 has already been merged. Are you still seeing problems? I believe some of the commits in that PR were un-done by some changes we made.
I got the following error when performing ./manage.py migrate on an empty database:
django.db.utils.OperationalError: no such table: django_site
When I remove 'cmsplugin_newsplus' from INSTALLED_APPS the migrate goes fine. If I add 'cmsplugin_newsplus' later and then migrate it also goes fine.
Even more, emptying the urls list in the cms_app.py also helps, so it seems something goes wrong there.
I'm using python3.4 and Django CMS 3.0.12
Any ideas how to fix this?
Thanks ahead.