merge master

This commit is contained in:
Arvind Tiwari 2018-03-29 01:04:26 +05:30
commit 368fe0d08f
19 changed files with 200 additions and 101 deletions

View file

@ -3,6 +3,27 @@ from django.db import models
from django.utils.safestring import mark_safe
from djangocms_text_ckeditor.fields import HTMLField
from filer.fields.image import FilerImageField
from cms.models.fields import PlaceholderField
class CMSIntegration(models.Model):
name = models.CharField(
max_length=100, unique=True, default='default',
help_text=(
'A unique name for the Integration. This name will be used to '
'fetch the Integration into pages'
)
)
footer_placeholder = PlaceholderField(
'datacenterlight_footer', related_name='dcl-footer-placeholder+'
)
navbar_placeholder = PlaceholderField(
'datacenterlight_navbar', related_name='dcl-navbar-placeholder+'
)
def __str__(self):
return self.name
# Models for CMS Plugins