From b1ba2e61eb1c2100e86533ef17d14fe126eda764 Mon Sep 17 00:00:00 2001 From: vincent porte Date: Thu, 5 Sep 2024 18:21:01 +0200 Subject: [PATCH] quality --- .../0002_remove_kind_in_materialized_view.py | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/lacommunaute/search/migrations/0002_remove_kind_in_materialized_view.py b/lacommunaute/search/migrations/0002_remove_kind_in_materialized_view.py index 0e9fcdd1..2cbae350 100644 --- a/lacommunaute/search/migrations/0002_remove_kind_in_materialized_view.py +++ b/lacommunaute/search/migrations/0002_remove_kind_in_materialized_view.py @@ -53,15 +53,15 @@ class Migration(migrations.Migration): forum_forum.name, concat_ws(' ', forum_forum.short_description, forum_forum.description), ( - setweight( - to_tsvector('french', forum_forum.name), - 'A' - ) - || - setweight( - to_tsvector('french', concat_ws(' ', forum_forum.short_description, forum_forum.description)), - 'B' - ) + setweight( + to_tsvector('french', forum_forum.name), + 'A' + ) + || + setweight( + to_tsvector('french', concat_ws(' ', forum_forum.short_description, forum_forum.description)), + 'B' + ) ), forum_forum.id, forum_forum.slug, @@ -116,15 +116,15 @@ class Migration(migrations.Migration): forum_forum.name, concat_ws(' ', forum_forum.short_description, forum_forum.description), ( - setweight( - to_tsvector('french', forum_forum.name), - 'A' - ) - || - setweight( - to_tsvector('french', concat_ws(' ', forum_forum.short_description, forum_forum.description)), - 'B' - ) + setweight( + to_tsvector('french', forum_forum.name), + 'A' + ) + || + setweight( + to_tsvector('french', concat_ws(' ', forum_forum.short_description, forum_forum.description)), + 'B' + ) ), forum_forum.id, forum_forum.slug,