Compatibility with django-reversion 2.0
See original GitHub issueIt seems the new version of django-reversion (since 2.0) breaks django-cms while calling migrate:
lib/python3.4/site-packages/cms/utils/reversion_hacks.py", line 18, in <module>
from reversion.models import Revision, Version, post_revision_commit # NOQA # nopyflakes
ImportError: cannot import name 'post_revision_commit'
According to their release notes, this signal got removed.
My first idea was to suggest adding version pinning to setup.py until compatibility is achieved, but it seems django-reversion isn’t a hard dependency at all. Though, having the user deal with this problem also isn’t nice.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
FAQ: Installation | Django documentation
Since newer versions of Python are often faster, have more features, and are better supported, the latest version of Python 3 is recommended....
Read more >Download Django
The last version to support Python 2.7 is Django 1.11 LTS. See the FAQ for the Python versions supported by each version of...
Read more >Django 2.1 release notes
Python compatibility Django 2.1 supports Python 3.5, 3.6, and 3.7. Django 2.0 is the last version to support Python 3.4. We highly...
Read more >Django 2.2 release notes
Python compatibility Django 2.2 supports Python 3.5, 3.6, 3.7, 3.8 (as of 2.2. 8), and 3.9 (as of 2.2. 17). We highly...
Read more >Release notes - Django documentation
For those upgrading to a new version of Django, you will need to check all the backwards-incompatible changes and deprecated features for each...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing as a won’t fix for the core of djangoCMS. Instead, we’ll release a third party app which will re-introduce revision support
Hello, We’re aware of the issue, unfortunately it caught us at an unfortunate time as we’re doing multiple refactors of the codebase in preparation for 3.4 and 3.5 and so are currently maxed out. That said, any PR that fixes this is welcome and will be given priority.