Skip to content
Snippets Groups Projects
Commit a82076ce authored by Dylann Cordel's avatar Dylann Cordel :crossed_swords:
Browse files

python 3

parent d688c845
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
# Future imports
from __future__ import unicode_literals
# Django imports
from django.contrib.contenttypes.fields import GenericForeignKey
from django.contrib.contenttypes.models import ContentType
from django.db import models
from django.template.loader import select_template
from django.utils.encoding import force_text
from django.utils.encoding import python_2_unicode_compatible
from django.utils.translation import ugettext_lazy as _
# Third Party
from cms.models import CMSPlugin
from cms.models.fields import PageField
###################################################################################################
###################################################################################################
@python_2_unicode_compatible
class HighlightedContentPluginBase(CMSPlugin):
title = models.CharField(
......@@ -68,7 +69,6 @@ class HighlightedContentPluginBase(CMSPlugin):
###################################################################################################
###################################################################################################
@python_2_unicode_compatible
class HighlightedContentItemBase(models.Model):
order = models.PositiveSmallIntegerField(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment