1 # -*- coding: utf-8 -*-
2 from django.db import models
5 class Template(models.Model):
6 """ Template of a document or its part """
8 name = models.CharField(max_length=255)
9 content = models.TextField()
10 is_main = models.BooleanField()
11 is_partial = models.BooleanField()
14 app_label = 'catalogue'
16 def __unicode__(self):