django-cms + django 1.6
Verfasst: Freitag 15. November 2013, 15:24
Hallo
Ich weiss nicht, was ich für einen Bock geschossen habe, denn letzte Woche ging alles noch...
Hab nun alles gelöscht und neu nach der Doku installiert und auch Schritt für Schritt der Anleitung getreu vorgegangen. Aber nun kommt immer folgende Meldung bei:
python manage.py syncdb --all
python manage.py migrate --fake
python manage.py syncdb
python manage.py migrate
Mit der Standard Django settings.py geht es nur wenn ich django-cms einbinden will schlägst fehl :K
[/size]
[/size]
EDIT
Kann es sein, dass ich auf django 1.6 upgedatet habe und django-cms darauf noch nicht geht?
Ich weiss nicht, was ich für einen Bock geschossen habe, denn letzte Woche ging alles noch...
Hab nun alles gelöscht und neu nach der Doku installiert und auch Schritt für Schritt der Anleitung getreu vorgegangen. Aber nun kommt immer folgende Meldung bei:
python manage.py syncdb --all
python manage.py migrate --fake
python manage.py syncdb
python manage.py migrate
Mit der Standard Django settings.py geht es nur wenn ich django-cms einbinden will schlägst fehl :K
DeprecationWarning: Implicit manager CMSPlugin.tree will be removed in django-mptt 0.6
Code: Alles auswählen
C:\Projekte\Eclipse\django-cms\myproject>python manage.py syncdb --all
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line 399, in execute_from_command_line
utility.execute()
File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 284, in execute
self.validate()
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 310, in validate
num_errors = get_validation_errors(s, app)
File "C:\Python27\lib\site-packages\django\core\management\validation.py", line 34, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 196, in get_app_errors
self._populate()
File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 75, in _populate
self.load_app(app_name, True)
File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 99, in load_app
models = import_module('%s.models' % app_name)
File "C:\Python27\lib\site-packages\django\utils\importlib.py", line 40, in import_module
__import__(name)
File "C:\Python27\lib\site-packages\cms\plugins\text\models.py", line 2, in <module>
from cms.plugins.text.utils import (plugin_admin_html_to_tags,
File "C:\Python27\lib\site-packages\cms\plugins\text\utils.py", line 6, in <module>
from cms.plugins.utils import downcast_plugins
File "C:\Python27\lib\site-packages\cms\plugins\utils.py", line 8, in <module>
from cms.plugin_pool import plugin_pool
File "C:\Python27\lib\site-packages\cms\plugin_pool.py", line 3, in <module>
from cms.plugin_base import CMSPluginBase
File "C:\Python27\lib\site-packages\cms\plugin_base.py", line 85, in <module>
class CMSPluginBase(admin.ModelAdmin):
File "C:\Python27\lib\site-packages\cms\plugin_base.py", line 30, in __new__
return super_new(cls, name, bases, attrs)
File "C:\Python27\lib\site-packages\django\forms\widgets.py", line 137, in __new__
attrs)
TypeError: Error when calling the metaclass bases
metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
Code: Alles auswählen
C:\Projekte\Eclipse\django-cms\myproject>python manage.py syncdb --all
C:\Python27\lib\site-packages\mptt\models.py:305: DeprecationWarning: Implicit manager CMSPlugin.tree will be removed in django-mptt 0.6. Explicitly
define a TreeManager() on your model to remove this warning.
DeprecationWarning
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line 399, in execute_from_command_line
utility.execute()
File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 284, in execute
self.validate()
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 310, in validate
num_errors = get_validation_errors(s, app)
File "C:\Python27\lib\site-packages\django\core\management\validation.py", line 34, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 196, in get_app_errors
self._populate()
File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 75, in _populate
self.load_app(app_name, True)
File "C:\Python27\lib\site-packages\django\db\models\loading.py", line 99, in load_app
models = import_module('%s.models' % app_name)
File "C:\Python27\lib\site-packages\django\utils\importlib.py", line 40, in import_module
__import__(name)
File "C:\Python27\lib\site-packages\cms\plugins\text\models.py", line 2, in <module>
from cms.plugins.text.utils import (plugin_admin_html_to_tags,
File "C:\Python27\lib\site-packages\cms\plugins\text\utils.py", line 6, in <module>
from cms.plugins.utils import downcast_plugins
File "C:\Python27\lib\site-packages\cms\plugins\utils.py", line 8, in <module>
from cms.plugin_pool import plugin_pool
File "C:\Python27\lib\site-packages\cms\plugin_pool.py", line 3, in <module>
from cms.plugin_base import CMSPluginBase
File "C:\Python27\lib\site-packages\cms\plugin_base.py", line 85, in <module>
class CMSPluginBase(admin.ModelAdmin):
File "C:\Python27\lib\site-packages\cms\plugin_base.py", line 30, in __new__
return super_new(cls, name, bases, attrs)
File "C:\Python27\lib\site-packages\django\forms\widgets.py", line 137, in __new__
attrs)
TypeError: Error when calling the metaclass bases
metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
C:\Projekte\Eclipse\django-cms\myproject>
EDIT
Kann es sein, dass ich auf django 1.6 upgedatet habe und django-cms darauf noch nicht geht?