X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/840b9bd7443e0048253423f7553809b5542d731c..98e406af0cc6b5d9b94441ee3f6b67a64d4eb591:/apps/catalogue/models/template.py?ds=sidebyside diff --git a/apps/catalogue/models/template.py b/apps/catalogue/models/template.py index f8439df0..fcb2f4bb 100644 --- a/apps/catalogue/models/template.py +++ b/apps/catalogue/models/template.py @@ -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'