models.py 363 Bytes
# -*- coding: utf-8 -*-

from django.db.models import Model, CharField, TextField
from django.utils.translation import ugettext_lazy as _


class FlatPage(Model):
    text_id = CharField(max_length=20, verbose_name=_(u'id'))
    title = CharField(max_length=160, verbose_name=_(u'title'))
    html_content = TextField(verbose_name=_(u'HTML content'), blank=True)