more filters (type, subject)
[redakcja.git] / apps / catalogue / models / template.py
index f8439df..fcb2f4b 100644 (file)
@@ -1,11 +1,18 @@
+# -*- coding: utf-8 -*-
+#
+# This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
 from django.db import models
 
 
 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'