Closed matthiask closed 9 years ago
entry.first_richtext
does not work if i use the contenttype other than RichTextContent
from redactor.fields import RedactorField
from elephantblog.models import Entry
class Content(models.Model):
content = RedactorField(u'content', null=True, blank=True)
class Meta:
abstract = True
def render(self, **kwargs):
return self.content
Entry.create_content_type(Content, regions=('main',))
Thank You.