dynamicweb/ungleich_page/models.py

18 lines
431 B
Python
Raw Normal View History

2017-10-17 13:52:30 +00:00
from cms.models.pluginmodel import CMSPlugin
from django.db import models
from filer.fields.image import FilerImageField
2017-10-17 13:52:30 +00:00
class UngelichPicture(CMSPlugin):
image = FilerImageField(
null=True,
blank=True,
related_name="image",
on_delete=models.SET_NULL
)
title = models.CharField(max_length=200)
2017-10-17 14:25:01 +00:00
class UngelichContactUsSection(CMSPlugin):
email = models.EmailField(max_length=200)