From 7d48c53b8daca447fc7f9d98e058a1388e47e3cd Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 20 Dec 2014 03:22:07 +0000 Subject: fixed some bugs with comments app, removed csrf protection from comments --- app/builder/views.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'app/builder') diff --git a/app/builder/views.py b/app/builder/views.py index 4d820e2..89fc92a 100644 --- a/app/builder/views.py +++ b/app/builder/views.py @@ -24,6 +24,19 @@ def do_build(request): BuildWritingFeed().build() BuildSitemap().build() context = {'message': 'Writing %s to Disk' % section} + elif section == 'builddetails': + context = {'message': 'Writing Jrnl Permalinks to Disk'} + BuildWriting().build_detail_pages() + elif section == 'writingarchives': + context = {'message': 'Writing Jrnl Archives to Disk'} + BuildWriting().build_writing_archives() + BuildWriting().build_country_archive_pages() + BuildWriting().build_region_archive_pages() + BuildWriting().writing_year_archives() + BuildWriting().writing_month_archives() + elif section == 'buildrss': + context = {'message': 'Writing RSS to Disk'} + BuildWritingFeed().build() elif section == 'scrapeflickr': from photos import retriever retriever.sync_sets() -- cgit v1.2.3-70-g09d2