diff --git a/app.py b/app.py index 31fdb9a..9c52128 100644 --- a/app.py +++ b/app.py @@ -77,6 +77,7 @@ def post_a_post(post_key): #### TODO проверить как-то по-умному что мы таки его добавили metadata = postos.insert({ 'texto': 'next post is this', + 'parent_post': f'{post_key}' }, overwrite_mode='update') metadata = db.collection('post_parents').insert({ diff --git a/templates/i-posts.html b/templates/i-posts.html index 51e0394..29e2c1e 100644 --- a/templates/i-posts.html +++ b/templates/i-posts.html @@ -20,6 +20,9 @@