cms integration

This commit is contained in:
Arvind Tiwari 2018-03-27 19:19:26 +05:30
commit bc36849178
6 changed files with 45 additions and 18 deletions

View file

@ -3,6 +3,17 @@ 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='An optional heading for the Section',
)
footer_placeholder = PlaceholderField('datacenterlight_footer')
navbar_placeholder = PlaceholderField('datacenterlight_navbar')
# Models for CMS Plugins