summaryrefslogtreecommitdiff
path: root/app/src/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/models.py')
-rw-r--r--app/src/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/models.py b/app/src/models.py
index f7362cb..e6a6f21 100644
--- a/app/src/models.py
+++ b/app/src/models.py
@@ -20,6 +20,7 @@ class Entry(models.Model):
topics = models.ManyToManyField(Topic, blank=True)
last_updated = models.DateTimeField(auto_now=True)
enable_comments = models.BooleanField(default=False)
+ has_code = models.BooleanField(default=False)
PUB_STATUS = (
(0, 'Draft'),
(1, 'Published'),