Skip to content

Commit

Permalink
migrate towards django-entangled>=0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Jan 14, 2021
1 parent 65d91e1 commit bada1f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmsplugin_cascade/icon/plugin_base.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.utils.safestring import mark_safe
from cmsplugin_cascade.models import IconFont
from cmsplugin_cascade.plugin_base import CascadePluginMixinBase
from entangled.forms import get_related_object
from entangled.utils import get_related_object


class IconPluginMixin(CascadePluginMixinBase):
Expand Down
3 changes: 2 additions & 1 deletion cmsplugin_cascade/image.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from django.forms.fields import CharField
from django.utils.translation import gettext_lazy as _

from entangled.forms import EntangledModelFormMixin, EntangledField, get_related_object
from entangled.forms import EntangledModelFormMixin, EntangledField
from entangled.utils import get_related_object
from cmsplugin_cascade.fields import CascadeImageField


Expand Down
2 changes: 1 addition & 1 deletion cmsplugin_cascade/link/plugin_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from django.utils.functional import cached_property
from django.utils.safestring import mark_safe

from entangled.forms import get_related_object
from entangled.utils import get_related_object
from cmsplugin_cascade.plugin_base import CascadePluginBase
from filer.models.filemodels import File as FilerFileModel

Expand Down

0 comments on commit bada1f8

Please sign in to comment.