From d36df304f7c1dd91db6a64b63d5982a4a9e62e8b Mon Sep 17 00:00:00 2001 From: Tony Date: Fri, 17 Dec 2021 22:05:52 +0300 Subject: [PATCH] dont lowerise topics titles --- migration/tables/content_item_categories.py | 2 +- migration/tables/tags.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/migration/tables/content_item_categories.py b/migration/tables/content_item_categories.py index 8ba75e75..2380f4f2 100644 --- a/migration/tables/content_item_categories.py +++ b/migration/tables/content_item_categories.py @@ -16,7 +16,7 @@ def migrate(entry): 'slug': entry['slug'], # 'createdBy': entry['createdBy'], # 'createdAt': date_parse(entry['createdAt']), - 'title': entry['title'].lower(), + 'title': entry['title'], #.lower(), 'children': [], 'community' : Community.default_community.slug, 'body' : entry.get('description') diff --git a/migration/tables/tags.py b/migration/tables/tags.py index 7488d3ed..000766ab 100644 --- a/migration/tables/tags.py +++ b/migration/tables/tags.py @@ -23,7 +23,7 @@ def migrate(entry): 'slug': entry['slug'], # 'createdBy': entry['createdBy'], # 'createdAt': ts, - 'title': entry['title'].lower(), + 'title': entry['title'], # .lower(), 'children': [], 'community' : Community.default_community.slug, 'body' : entry.get('description')