Код для итерации по комментариям
Open, NormalPublic

Description

Предполагаемое API:

def get_comments_list(post: Post) -> List[Tuple[Post,int]]:
    # возвращает посты и уровень вложенности каждого из них

Внутри можно попробовать использовать рекурсивный запрос средствами Peewee.

Details

Commits
Restricted Diffusion Commit
Restricted Diffusion Commit
Maaaks added a commit: Restricted Diffusion Commit.Sun, May 20, 10:14
Maaaks added a commit: Restricted Diffusion Commit.
Maaaks moved this task from Unknown Object (Project Column) to Unknown Object (Project Column) on the Andreas board.Sun, May 20, 10:41
Maaaks removed a project: Andreas.
Maaaks moved this task from Backlog to В работе on the Andreas board.Sun, May 20, 10:57
Maaaks changed the visibility from "All Users" to "Public (No Login Required)".Tue, May 22, 10:23