X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/840b9bd7443e0048253423f7553809b5542d731c..0946041483bdb729ae076d8ead0699524eeeb4b2:/apps/catalogue/models/template.py?ds=inline diff --git a/apps/catalogue/models/template.py b/apps/catalogue/models/template.py index f8439df0..dded859e 100644 --- a/apps/catalogue/models/template.py +++ b/apps/catalogue/models/template.py @@ -3,9 +3,11 @@ 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'