dont lowerise topics titles

This commit is contained in:
Tony 2021-12-17 22:05:52 +03:00
parent e368ebf4e9
commit d36df304f7
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ def migrate(entry):
'slug': entry['slug'], 'slug': entry['slug'],
# 'createdBy': entry['createdBy'], # 'createdBy': entry['createdBy'],
# 'createdAt': date_parse(entry['createdAt']), # 'createdAt': date_parse(entry['createdAt']),
'title': entry['title'].lower(), 'title': entry['title'], #.lower(),
'children': [], 'children': [],
'community' : Community.default_community.slug, 'community' : Community.default_community.slug,
'body' : entry.get('description') 'body' : entry.get('description')

View File

@ -23,7 +23,7 @@ def migrate(entry):
'slug': entry['slug'], 'slug': entry['slug'],
# 'createdBy': entry['createdBy'], # 'createdBy': entry['createdBy'],
# 'createdAt': ts, # 'createdAt': ts,
'title': entry['title'].lower(), 'title': entry['title'], # .lower(),
'children': [], 'children': [],
'community' : Community.default_community.slug, 'community' : Community.default_community.slug,
'body' : entry.get('description') 'body' : entry.get('description')