dynamicweb/ungleich/models.py
rscnt 463fc370b4 models: ungleich, added app_label to UngleichPage
Signed-off-by: rscnt <rascnt@gmail.com>
2015-05-23 04:17:04 -06:00

15 lines
343 B
Python

from django.db import models
from cms.extensions import PageExtension
from cms.extensions.extension_pool import extension_pool
# Create your models here.
class UngleichPage(PageExtension):
image_header = models.ImageField(upload_to='image_header')
class Meta:
app_label = 'ungleich'
extension_pool.register(UngleichPage)