def METHOD_NAME(post):
    authors = list(Profile.objects.all())
    count = len(authors)
    shuffle(authors)
    for i in range(0, randint(1, min(count, 5))):
        author_orderable = ArticleAuthors.objects.create(page=post, author=authors[i])
        post.authors.add(author_orderable)
    post.save()