diff options
Diffstat (limited to 'app/figments/build.py')
-rw-r--r-- | app/figments/build.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/app/figments/build.py b/app/figments/build.py index 58835e5..349a399 100644 --- a/app/figments/build.py +++ b/app/figments/build.py @@ -22,18 +22,6 @@ class BuildFigments(Build): s = render_to_string('details/note.txt', c).encode('utf-8') self.write_file(path, s, 'txt', entry.slug) - def build_detail_epub(self): - ''' - Grab all the notes, render them to a template string and write that out to the filesystem - ''' - for entry in Figment.objects.filter(status__exact=1): - c = Context({'object': entry, 'MEDIA_URL': settings.BAKED_MEDIA_URL, 'IMAGES_URL': settings.BAKED_IMAGES_URL, 'SITE_URL':settings.SITE_URL}) - t = render_to_string('details/fignments.html', c).encode('utf-8') - path = 'figments/' - self.write_file(path, t, 'html', entry.slug) - s = render_to_string('details/note.txt', c).encode('utf-8') - self.write_file(path, s, 'txt', entry.slug) - def build_archive(self): path = 'figments/' c = Context({ |