From 3642a641c57621f2cbf87bed4657d58527d7b76f Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 7 Oct 2016 10:49:03 +0000 Subject: Tweets on main page are working --- wqflask/wqflask/templates/index_page_orig.html | 23 ++++++++++++++++++++++- wqflask/wqflask/views.py | 4 ++++ 2 files changed, 26 insertions(+), 1 deletion(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/index_page_orig.html b/wqflask/wqflask/templates/index_page_orig.html index 73d3e718..bc811ef6 100755 --- a/wqflask/wqflask/templates/index_page_orig.html +++ b/wqflask/wqflask/templates/index_page_orig.html @@ -221,7 +221,11 @@
  • Germany at the HZI
  • Memphis at the U of M
  • - + +
    + + + @@ -166,8 +171,17 @@ +
    - +
    @@ -294,9 +308,9 @@ "domId": 'tweets', "maxTweets": 5, "enableLinks": true, - "showUser": true, + "showUser": false, "showTime": true, - "showImages": true, + "showImages": false, "lang": 'en' }; twitterFetcher.fetch(configProfile); -- cgit v1.2.3 From d300e9183900962cafbac47b0cbbdb43a49e2019 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 7 Oct 2016 11:37:09 +0000 Subject: Make sure JS path exists --- wqflask/utility/tools.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wqflask') diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py index c6d8f7d2..31f838b3 100644 --- a/wqflask/utility/tools.py +++ b/wqflask/utility/tools.py @@ -231,3 +231,5 @@ if os.environ.get('WQFLASK_OVERRIDES'): else: OVERRIDES[k] = cmd logger.debug(OVERRIDES) + +assert_dir(get_setting("TWITTER_POST_FETCHER_JS_PATH")) -- cgit v1.2.3