Created
August 31, 2015 10:39
-
-
Save nruigrok/8fece67723a6546b7ca3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set2 = ArticleSet.objects.get(pk=17307) | |
lijst=[] | |
rij=() | |
for row in reader: | |
aid = int(row[0]) | |
medium = int(row[2]) | |
setid = int(row[1]) | |
rij=(aid) | |
if medium is not (4,5,6,7,8,9,11,32): | |
if setid == 2: | |
lijst.append(rij) | |
set2.add_articles(lijst) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment