Skip to content

Instantly share code, notes, and snippets.

@dnase
Created September 29, 2014 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnase/2ac433c4cb3b886a3b76 to your computer and use it in GitHub Desktop.
Save dnase/2ac433c4cb3b886a3b76 to your computer and use it in GitHub Desktop.
In [1]: from medley.medley_lists.models import FastAutoList
In [2]: myFAL = FastAutoList.objects.get(id=57)
In [3]: res = myFAL.perform_search()
In [4]: 'teaseimage_url' in res[0].keys()
Out[4]: True
In [5]: 'teaseimage_url' in res[1].keys()
Out[5]: True
In [6]: 'teaseimage_url' in res[2].keys()
Out[6]: True
In [7]: 'teaseimage_url' in res[3].keys()
Out[7]: True
In [8]: 'teaseimage_url' in res[4].keys()
Out[8]: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment