From f5afbcb35c0d15591e2e51b97b21a5d8a4e30dd1 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 29 Oct 2015 14:43:29 -0400 Subject: added has_code selector to src model --- app/src/TODO | 6 ++++++ app/src/models.py | 1 + 2 files changed, 7 insertions(+) create mode 100644 app/src/TODO (limited to 'app/src') 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'), -- cgit v1.2.3-70-g09d2