diff options
author | luxagraf <sng@luxagraf.net> | 2014-12-20 03:22:07 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2014-12-20 03:22:07 +0000 |
commit | 7d48c53b8daca447fc7f9d98e058a1388e47e3cd (patch) | |
tree | 44de30ede130a9bf6533306550c785d1da2c9259 /app/builder | |
parent | 85a40f8902cf5f56a0bde2fd79acbeeab2cac683 (diff) |
fixed some bugs with comments app, removed csrf protection from comments
Diffstat (limited to 'app/builder')
-rw-r--r-- | app/builder/views.py | 13 |
1 files changed, 13 insertions, 0 deletions
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() |