1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-12-26 05:02:24 +00:00
This commit is contained in:
Yohann D'ANELLO 2020-02-10 18:18:42 +01:00
parent 0548e34568
commit 47ce447aad

View File

@ -116,6 +116,7 @@ class MediaAdminForm(ModelForm):
title_normalized = re.sub(r'^LES ', '', title_normalized)
title_normalized = re.sub(r'^L\'', '', title_normalized)
title_normalized = re.sub(r'^THE ', '', title_normalized)
title_normalized = re.sub(r'Œ', 'OE', title_normalized)
side_identifier = "{:.3} {:.3}".format(
author_name,
title_normalized.replace(' ', ''), )