You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
375 B
14 lines
375 B
# -*- 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 |