summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/TODO6
-rw-r--r--app/src/models.py1
2 files changed, 7 insertions, 0 deletions
diff --git a/app/src/TODO b/app/src/TODO
new file mode 100644
index 0000000..9e9bca0
--- /dev/null
+++ b/app/src/TODO
@@ -0,0 +1,6 @@
+Add syntax highlighting in templates (shit, need option to toggle that in admin)
+
+finish home/archive page add book detail page.
+
+Get rid of src in menu item.
+
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'),