# -*- coding: utf-8 -*- from django.db import models from hvad.models import TranslatableModel, TranslatedFields from functions.custom_fields import EnumField class Html(TranslatableModel): name = models.CharField(max_length=100, blank=True) translations = TranslatedFields( text=models.TextField() ) def __unicode__(self): return self.name