userProfile = UserProfile() userProfile.user = user userProfile.firstname = names[i] userProfile.lastname = names[i + 1] userProfile.email = (names[seed % namesLen]) + "@punk.com" userProfile.image = profilePic[seed % profilePicLen] userProfile.coverPhoto = coverUrl[seed % coverUrlLen] userProfile.description = titles[seed % titlesLen] userProfile.key_skills = titles[seed % titlesLen] userProfile.description = sentences[seed % sentenceLen] userProfile.save() for i in range(5): theCategory = Category() theCategory.title = categoriesTitle[(seed + i) % categoriesTitleLen] theCategory.owner = userProfile theCategory.thumbnail = profilePic[(seed + i) % profilePicLen] theCategory.save() for z in range(10): theArtwork = Artwork() theArtwork.title = titles[(seed + z) % titlesLen] theArtwork.url_path = articleUrl[(seed + z) % articleUrlLen] theArtwork.category = theCategory theArtwork.owner = userProfile theArtwork.save() for i in range(20): articleseed = randint(0, 1000)