style
[redakcja.git] / apps / catalogue / models / template.py
1 # -*- coding: utf-8 -*-
2 from django.db import models
3
4
5 class Template(models.Model):
6     """ Template of a document or its part """
7
8     name = models.CharField(max_length=255)
9     content = models.TextField()
10     is_main = models.BooleanField()
11     is_partial = models.BooleanField()
12
13     class Meta:
14         app_label = 'catalogue'
15
16     def __unicode__(self):
17         return self.name