diff options
author | luxagraf <sng@luxagraf.net> | 2014-05-01 01:18:37 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2014-05-01 01:18:37 +0000 |
commit | 63662145af4487bc026e6cd906766a95817d46fb (patch) | |
tree | 8807cfb2559ea9d22043bc833492101fcb2aa9cb /app/builder/views.py | |
parent | 79b3268e10706e1ea14d7ba1275a9744ce51cd3a (diff) |
fixed Flickr issues and photo template settings
Diffstat (limited to 'app/builder/views.py')
-rw-r--r-- | app/builder/views.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/builder/views.py b/app/builder/views.py index f266cb8..ca1296f 100644 --- a/app/builder/views.py +++ b/app/builder/views.py @@ -61,12 +61,17 @@ def do_build(request): elif section == 'home': BuildWriting().build_homepage() context = {'message': 'Writing Homepage to Disk',} + #Crawl Flickr for new Photosets + elif section == 'scrapeflickr': + from photos import retriever + retriever.sync_sets() + context = {'message': 'Crawling Flickr for new photosets',} """ elif section == 'all': g.build_entire_site() context = {'message': 'Writing Entire Site to disk',} """ - + else: context = {} #return redirect('/admin/', message='test') |