@register.as_tag
def tweets_default(*args):
 query_type = settings.TWITTER_DEFAULT_QUERY_TYPE
 args = (settings.TWITTER_DEFAULT_QUERY, settings.TWITTER_DEFAULT_NUM_TWEETS)
 per_user = None
 if (query_type == QUERY_TYPE_LIST):
  per_user = 1
 return tweets_for(query_type, args, per_user=per_user)

@ register . as_tag def tweets_default ( * args ) : query_type = settings . TWITTER_DEFAULT_QUERY_TYPE args = ( settings . TWITTER_DEFAULT_QUERY , settings . TWITTER_DEFAULT_NUM_TWEETS ) per_user = None if ( query_type == QUERY_TYPE_LIST ) : per_user = 1 return tweets_for ( query_type , args , per_user = per_user )
tweets for the default settings .