2015-05-23 06:33:35 +00:00
|
|
|
from cms.extensions import PageExtension
|
|
|
|
from cms.extensions.extension_pool import extension_pool
|
2015-05-24 16:59:26 +00:00
|
|
|
from filer.fields.image import FilerImageField
|
2015-05-23 06:33:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Create your models here.
|
|
|
|
|
2016-04-10 21:12:43 +00:00
|
|
|
|
2015-05-23 06:33:35 +00:00
|
|
|
class UngleichPage(PageExtension):
|
2017-06-29 14:34:40 +00:00
|
|
|
# image_header = models.ImageField(upload_to='image_header')
|
2015-05-24 16:59:26 +00:00
|
|
|
image = FilerImageField(null=True, blank=True,
|
2017-06-29 14:34:40 +00:00
|
|
|
related_name="ungleinch_page_image")
|
2015-05-23 06:33:35 +00:00
|
|
|
|
2015-05-23 10:17:04 +00:00
|
|
|
class Meta:
|
|
|
|
app_label = 'ungleich'
|
|
|
|
|
2017-06-29 14:34:40 +00:00
|
|
|
|
2015-05-23 06:33:35 +00:00
|
|
|
extension_pool.register(UngleichPage)
|