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
upgrade django from 1.4.1 to 1.4.2 because django-filer needs django.utils.six :(
pip install cmsplugin-filer
./manage.py syncdb & ./manage.py migrate
pip install django-cms-events
add "cmsplugin_events" to settings.INSTALLED_APPS
./manage.py syndcb
Result:
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/core/management/base.py", line 231, in execute
self.validate()
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/core/management/base.py", line 266, in validate
num_errors = get_validation_errors(s, app)
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/core/management/validation.py", line 30, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/db/models/loading.py", line 158, in get_app_errors
self._populate()
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/db/models/loading.py", line 67, in _populate
self.load_app(app_name)
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/db/models/loading.py", line 88, in load_app
models = import_module('.models', app_name)
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/home/bruno/.virtualenvs/s3g/lib/python2.6/site-packages/cmsplugin_events/models.py", line 7, in <module>
from model_utils.models import TimeStampedModel
ImportError: No module named model_utils.models
Result:
And there's indeed no module or package model_utils in sight. After a bit of googling it appears that it's another missing dependency on https://bitbucket.org/carljm/django-model-utils
The text was updated successfully, but these errors were encountered: