From 3f0ab5bdc227845de22daf7ecccb1f4a79b4445b Mon Sep 17 00:00:00 2001 From: knst-kotov Date: Thu, 16 Dec 2021 22:16:59 +0300 Subject: [PATCH] minor fix --- orm/community.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orm/community.py b/orm/community.py index a6beed6c..ca5459fc 100644 --- a/orm/community.py +++ b/orm/community.py @@ -17,7 +17,7 @@ class Community(Base): @staticmethod def init_table(): with local_session() as session: - default = session.query(Community).filter(Community.slug == "default").first() + default = session.query(Community).filter(Community.slug == "discours").first() if not default: default = Community.create( name = "Дискурс",