Skip to content

Commit

Permalink
Merge pull request #34 from centralniak/feature/djangocms350-compat
Browse files Browse the repository at this point in the history
fix import issue
  • Loading branch information
vinitkumar authored Feb 6, 2018
2 parents a9709a6 + 312d6fd commit 0092bca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion cmsplugin_gallery/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
import threading

from cms.models import CMSPlugin
from cms.utils import get_cms_setting

try:
from cms.utils import get_cms_setting
except ImportError:
from cms.utils.conf import get_cms_setting

from django.db import models
from django.utils.translation import ugettext_lazy as _
from inline_ordering.models import Orderable
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name='cmsplugin_gallery',
version='0.6.11',
version='0.6.12',
author='Piotr Kilczuk',
author_email='[email protected]',
url='http://github.com/centralniak',
Expand Down

0 comments on commit 0092bca

Please sign in to comment.