class Template(models.Model):
""" Template of a document or its part """
-
+
name = models.CharField(max_length=255)
content = models.TextField()
+ is_main = models.BooleanField()
+ is_partial = models.BooleanField()
class Meta:
app_label = 'catalogue'