Facing issue after installing package and adding to installed apps section in settings.py, unable to syncdb or import
Traceback (most recent call last): File "manage.py", line 11, in <module> execute_from_command_line(sys.argv) File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/core/management/__init__.py", line 328, in execute django.setup() File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/apps/registry.py", line 108, in populate app_config.import_models(all_models) File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/apps/config.py", line 198, in import_models self.models_module = import_module(models_module_name) File "/Users/c130/.pyenv/versions/3.6.1/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 978, in _gcd_import File "<frozen importlib._bootstrap>", line 961, in _find_and_load File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 655, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/djangocms_snippet/models.py", line 9, in <module> from cms.utils.helpers import reversion_register ImportError: cannot import name 'reversion_register'
Facing issue after installing package and adding to installed apps section in settings.py, unable to syncdb or import
Traceback (most recent call last): File "manage.py", line 11, in <module> execute_from_command_line(sys.argv) File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/core/management/__init__.py", line 328, in execute django.setup() File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/apps/registry.py", line 108, in populate app_config.import_models(all_models) File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/django/apps/config.py", line 198, in import_models self.models_module = import_module(models_module_name) File "/Users/c130/.pyenv/versions/3.6.1/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 978, in _gcd_import File "<frozen importlib._bootstrap>", line 961, in _find_and_load File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 655, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed File "/Users/c130/.pyenv/versions/PJ/lib/python3.6/site-packages/djangocms_snippet/models.py", line 9, in <module> from cms.utils.helpers import reversion_register ImportError: cannot import name 'reversion_register'
Python Version: 3.6 Django Version: 1.8 CMS Version: 3.5