Re: problem with twitter app

2010-04-21 Thread het.oosten
I solved it making this context_processor.py: import datetime import time from django.conf import settings from django.core.cache import cache import twitter def latest_tweet( request ): tweet = cache.get( 'tweet' ) if tweet: return {"tweet": tweet} else:

problem with twitter app

2010-04-21 Thread het.oosten
I am using python-twitter on my site. I have a problem when the Twitter site is down. This results in an error message. I did not found out if the users gets an error message or not. To use Twitter on my site I have this context_processors.py import datetime import time from django.conf import set