diff options
author | luxagraf <sng@luxagraf.net> | 2015-10-29 14:43:29 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-10-29 14:43:29 -0400 |
commit | f5afbcb35c0d15591e2e51b97b21a5d8a4e30dd1 (patch) | |
tree | a622421f1155fefded043cc7659f19cc84e6137e /app | |
parent | 6424135f9233c6a7c9139859ebb465de0e84a898 (diff) |
added has_code selector to src model
Diffstat (limited to 'app')
-rw-r--r-- | app/src/TODO | 6 | ||||
-rw-r--r-- | app/src/models.py | 1 |
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'), |