8000 Keep older cms.utils.compat version flags for third-party plugins · Issue #6578 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content
Keep older cms.utils.compat version flags for third-party plugins #6578
Closed
@stefanw

Description

@stefanw

Summary

Django CMS 3.6rc1 has removed older DJANGO_* version flags from the cms.utils.compat module.
Third-party extensions still rely on them which means an upgrade of 3.6.x also requires an upgrade of all plugins that rely on that version info via cms.utils.compat.

cms.utils.compat doesn't seem to be a documented API, but it would be an easy thing to keep this version info. Users of third-party plugins, that otherwise work fine, would appreciate it!

Otherwise the upgrade to Django CMS 3.6 will be slower, due to third-party extensions needing to upgrade either via breaking compatibility or each coming up with their own version info.

Expected behaviour

from cms.utils.compat import DJANGO_1_10

This should still work, even though Django 1.10 is no longer supported.

Actual behaviour

ImportError: cannot import name 'DJANGO_1_10'

Environment

  • Python version: 3.6
  • Django version: 1.11
  • django CMS version: 3.6rc1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0