def get_recommended_content_for_user(account, settings, record_views=False, src=SRC_EXPLORE):
 prefs = AccountSRPrefs.for_user(account)
 recs = get_recommended_content(prefs, src, settings)
 if record_views:
  sr_data = {r.sr: r.src for r in recs}
  AccountSRFeedback.record_views(account, sr_data)
 return recs

def get_recommended_content_for_user ( account , settings , record_views = False , src = SRC_EXPLORE ) : prefs = AccountSRPrefs . for_user ( account ) recs = get_recommended_content ( prefs , src , settings ) if record_views : sr_data = { r . sr : r . src for r in recs } AccountSRFeedback . record_views ( account , sr_data ) return recs
wrapper around get_recommended_content() that fills in user info .