fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Editor update - edumed exercises
[redakcja.git]
/
apps
/
catalogue
/
models
/
template.py
diff --git
a/apps/catalogue/models/template.py
b/apps/catalogue/models/template.py
index
f8439df
..
dded859
100644
(file)
--- 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 """
class Template(models.Model):
""" Template of a document or its part """
-
+
name = models.CharField(max_length=255)
content = models.TextField()
name = models.CharField(max_length=255)
content = models.TextField()
+ is_main = models.BooleanField()
+ is_partial = models.BooleanField()
class Meta:
app_label = 'catalogue'
class Meta:
app_label = 'catalogue'